Class Property
Represents a container type named Property that encapsulates
metadata and runtime information about an individual property shown
in the PropertyGrid control.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public class Property
Remarks
Combines reflection-based information (PropertyInformation) and component model descriptors (PropertyDescriptor), so the property grid can work uniformly with CLR types, dynamic types, and System.ComponentModel.ICustomTypeDescriptor implementations.
Constructors
Property()
Declaration
public Property()
Properties
Browsable
Gets a value indicating whether this PropertyItem is browsable.
Declaration
public bool Browsable { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Category
Gets the category.
Declaration
public string Category { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The category. |
DisplayName
Gets the display name.
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The display name. |
IsReadOnly
Gets a value indicating whether this instance is read only.
Declaration
public bool IsReadOnly { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name. |
PropertyDescriptor
Gets PropertyDescriptor which provides abstraction of a property when SelectedObject is of type dynamic, ExpandoObject or ICustomTypeDescriptor.
Declaration
public PropertyDescriptor PropertyDescriptor { get; }
Property Value
| Type |
|---|
| System.ComponentModel.PropertyDescriptor |
Remarks
Use PropertyInformation when SelectedObject is not dynamic, ExpandoObject or ICustomTypeDescriptor Type.
PropertyInformation
Gets or sets the property information.
Declaration
public PropertyInfo PropertyInformation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Reflection.PropertyInfo | The property information. |
SelectedObject
Gets or sets the selected object.
Declaration
public object SelectedObject { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The selected object. |
Value
Gets or sets the value.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | The value. |