Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid Namespace / PropertyDefinition Class


In This Topic
    PropertyDefinition Class
    In This Topic
    Represents a property definition for use in an EditorTemplateDefinition.
    Object Model
    PropertyDefinition ClassPropertyDefinitionCollection ClassPropertyDefinition Class
    Syntax
    'Declaration
     
    
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class PropertyDefinition 
       Inherits PropertyDefinitionBase
    'Usage
     
    
    Dim instance As PropertyDefinition
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class PropertyDefinition : PropertyDefinitionBase 
    Remarks
    By default, the PropertyGrid autogenerates all the properties for a given object. You can override this behavior by setting the AutoGenerateProperties property to false, and then providing a collection of PropertyDefinition instances representing the properties you would like to show.
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.Toolkit.PropertyGrid.DefinitionBase
                Xceed.Wpf.Toolkit.PropertyGrid.PropertyDefinitionBase
                   Xceed.Wpf.Toolkit.PropertyGrid.PropertyDefinition

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the PropertyDefinition class.  
    Top
    Public Properties
     NameDescription
    Public Property  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property  
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets the Collection of PropertyDefinition to specify which sub-PropertyItems should be shown in the PropertyGrid. (Inherited from Xceed.Wpf.Toolkit.PropertyGrid.PropertyDefinitionBase)
    Public Property (Inherited from Xceed.Wpf.Toolkit.PropertyGrid.PropertyDefinitionBase)
    Top
    Public Methods
    Protected Methods
    Extension Methods
     NameDescription
    Public Extension MethodFinds the logical ancenster
    Public Extension Method
    Public Extension MethodFind the logical children.
    Public Extension MethodFinds the visual ancestor.
    Public Extension MethodFinds the visual children.
    Public Extension MethodFinds the visual tree root.
    Public Extension MethodOverloaded. 
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also