AMEZING77

View the Project on GitHub AMEZING77/AMEZING77

Category/Description/DefaultValue Attribute 搭配PropertyGrid使用

WPF的 Xceed.Wpf.Toolkit 的

DefaultValueAttribute在toolKit中可以直接赋默认值。 alt text alt text alt text

System.Windows.Forms.PropertyGrid 与DevExpress.XtraVerticalGrid.PropertyGridControl

DefaultValueAttribute无法赋默认值,只能通过属性默认值来赋值。 alt text

ObsoleteAttribute

UidPropertyAttribute

在 WPF(Windows Presentation Foundation)中,UidProperty 属性用于指定一个属性作为元素的唯一标识符(UID)。UID 通常用于本地化和标识元素。UidProperty 特性可以应用于类,以指定哪个属性将用作 UID。