로딩
요청 처리 중입니다...

[WPF_DevExpress] PropertyGrid 시작하기 02. 컬렉션 정의

 [WPF_DevExpress] PropertyGrid 시작하기 02. 컬렉션 정의

컬렉션 정의는 바인딩된 객체의 컬렉션 속성을 나타내고 속성그리드(PropertyGrid) 내에서 해당 모양을 지정한다. 각 컬렉션 정의는 바인딩된 객체의 하나 이상의 컬렉션 속성에 연결되며, PropertyGridControl.PropertyDefinitions 컬렉션 내에 저장된 CollectionDefinition 객체로 표시된다.

PropertyGridControl 내 컬렉션 표시 PropertyGridControl.ShowProperties 속성이 WithPropertyDefinitions로 설정된 경우 컬렉션 항목의 속성을 수동으로 초기화해야 한다. MainWindowVM.cs using System.Collections.Generic; namespace CollectionDefintionStudy { public class MainWindowVM { public Product Product { get; set; } public MainWindowVM() { Product...

# CollectionDefinition # 컬렉션정의 # 컬렉션속성숨기기 # 컬렉션속성 # 속성그리드 # 데브익스프레스 # WPF # UseCollectionEditor # ShowChildren # PropertyGridControl # PropertyGrid # IInstanceInitializer # DevExpress # 컬렉션편집기