Class PropertyView
Represents class for PropertyView which inherits from ItemsControl
Inheritance
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public class PropertyView : ItemsControl
Constructors
PropertyView()
Initializes a new instance of the PropertyView class.
Declaration
public PropertyView()
Fields
CategoryForegroundProperty
Declaration
public static readonly DependencyProperty CategoryForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EditableBackgroundProperty
EditableBackgroundProperty DependencyProperty for PropertyGrid
Declaration
public static readonly DependencyProperty EditableBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EditableFontWeightProperty
Represents EditableFontWeight property for PropertyGrid.
Declaration
public static readonly DependencyProperty EditableFontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableGroupingProperty
Declaration
public static readonly DependencyProperty EnableGroupingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LineColorProperty
Declaration
public static readonly DependencyProperty LineColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ReadOnlyBackgroundProperty
Represents Dependency property ReadOnlyBackground for PropertyGrid
Declaration
public static readonly DependencyProperty ReadOnlyBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ReadOnlyFontWeightProperty
The read only font weight dependency property for the PropertyGrid
Declaration
public static readonly DependencyProperty ReadOnlyFontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedItemProperty
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedPropertyProperty
Declaration
public static readonly DependencyProperty SelectedPropertyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ViewBackgroundColorProperty
Declaration
public static readonly DependencyProperty ViewBackgroundColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
CategoryForeground
Gets or sets the text color used for category headings.
Declaration
public Brush CategoryForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The category foreground. |
EditableBackground
Gets or sets the editable background.
Declaration
public Brush EditableBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The editable background. |
EditableFontWeight
Gets or sets the editable font weight.
Declaration
public FontWeight EditableFontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.FontWeight | The editable font weight. |
EnableGrouping
Gets or sets a value indicating whether [enable grouping].
Declaration
public bool EnableGrouping { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LineColor
Gets or sets the color of the borders and category heading background.
Declaration
public Brush LineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The color of the line. |
ReadOnlyBackground
Gets or sets the read only background.
Declaration
public Brush ReadOnlyBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The read only background. |
ReadOnlyFontWeight
Gets or sets the read only font weight.
Declaration
public FontWeight ReadOnlyFontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.FontWeight | The read only font weight. |
SelectedItem
Gets or sets the selected item.
Declaration
public PropertyViewItem SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
PropertyViewItem | The selected item. |
SelectedProperty
Gets or sets the selected property.
Declaration
public PropertyItem SelectedProperty { get; set; }
Property Value
Type | Description |
---|---|
PropertyItem | The selected property. |
ViewBackgroundColor
Gets or sets the color of the view background.
Declaration
public Brush ViewBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The color of the view background. |
Methods
ClearContainerForItemOverride(DependencyObject, Object)
When overridden in a derived class, undoes the effects of the System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object) method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The container element. |
System.Object | item | The item. |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | The element that is used to display the given item. |
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the item is (or is eligible to be) its own container; otherwise, false. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
OnEnableGroupingChanged(DependencyPropertyChangedEventArgs)
Raises the EnableGroupingChanged event.
Declaration
protected void OnEnableGroupingChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnGotFocus(RoutedEventArgs)
Method handles the GotFocus event for the current object.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e | Event arguments |
OnSelectedItemChanged(DependencyPropertyChangedEventArgs)
Raises the SelectedItemChanged event.
Declaration
protected void OnSelectedItemChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnSelectedPropertyChanged(DependencyPropertyChangedEventArgs)
Raises the SelectedPropertyChanged event.
Declaration
protected void OnSelectedPropertyChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | Element used to display the specified item. |
System.Object | item | Specified item. |