C#/DevExpress.WinForm

C#/DevExpress.WinForm

C# - DevExpress.WinForm - AlertControl

Introduction 위의 그림과 같이, 윈도우 알림 화면을 DevExpress에서는 Alert Windows로 제공하고 있다. 비슷한 기능으로 Toast notification 또한 존재한다. 이는 윈도우 알림메세지 (Win10 기준, 작업표시줄 끝에 위치) 까지 연결된다. (참조 - C# - DevExpress - ToastNotificationsManager) 여기서는 HTML/CSS 템플릿 적용 예제를 다뤄본다. 기본 컨트롤도 깔끔하게 구현되어 있지만, 여러가지 데이터를 넣기에는 용이하지 않아 직접 제작하였다. 필자는 HTML 및 CSS를 잘 다루지 못해 굉장히 지저분하게 만들어졌다.. Code HTML ${Title} ${Caption} ${Description1} ${Description2}..

C#/DevExpress.WinForm

C# - DevExpress.WinForm - Adorner Guide

Example Code public record GuideInformation { public string Description; public object TargetControl; } using DevExpress.Utils.VisualEffects; using System.Collections.Generic; namespace AdornerGuide { public class AdornerGuide { /*------------------------------------------- * * Public members * -------------------------------------------*/ public List GuideList; /*-------------------------------..

C#/DevExpress.WinForm

C# - DevExpress.WinForm - ToastNotificationsManager

Introduction 위의 그림과 같이, 윈도우 우측 하단에 뜨는 알림창을 Toast notification이라 한다. DevExpress에서 제공하는 Toast Notification Manager의 경우 Windows 8 이상에서만 지원한다. 이전 버전의 윈도우를 사용하는 경우 Alert Windows를 사용해야 한다. Toast notification을 이용하려면 Windows Notification Platform에 COM object를 노출해야한다. 권한을 획득하지 못한 경우, notification을 호출하더라도 팝업이 나타나지 않는다. Code using DevExpress.Data; using DevExpress.XtraEditors; using System; using System.Di..

Peponi_
'C#/DevExpress.WinForm' 카테고리의 글 목록