alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class Property

    Represents a container type named Property that encapsulates metadata and runtime information about an individual property shown in the PropertyGrid control.

    Inheritance
    System.Object
    Property
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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

    true if browsable; otherwise, false.

    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

    true if this instance is read only; otherwise, false.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved