ClassPropertyGridField
Provides UI for displaying and editing of a property in RadPropertyGrid.
Definition
Namespace:Telerik.UI.Xaml.Controls.Data.PropertyGrid
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class PropertyGridField : ContentControl
Inheritance: objectPropertyGridField
Constructors
PropertyGridField()
Initializes a new instance of the PropertyGridField class.
Declaration
public PropertyGridField()
Fields
IsCurrentProperty
Represents the IsCurrent dependency property.
Declaration
public static readonly DependencyProperty IsCurrentProperty
Field Value
DependencyProperty
IsExpandedProperty
Represents the IsExpandedProperty dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
DependencyProperty
IsMouseOverProperty
Represents the IsMouseOver dependency property.
Declaration
public static readonly DependencyProperty IsMouseOverProperty
Field Value
DependencyProperty
IsReadOnlyProperty
Represents the IsReadOnly dependency property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
DependencyProperty
IsSelectedChangedEvent
Occurs when a field's IsSelected state changes.
Declaration
public static readonly RoutedEvent IsSelectedChangedEvent
Field Value
IsSelectedProperty
Represents the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
ShouldDisplayNestedItemsControlProperty
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty
Field Value
DependencyProperty
ShouldDisplayNestedItemsControlPropertyKey
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey
Field Value
ShouldDisplayNestedPropertiesProperty
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty
Field Value
DependencyProperty
ShouldDisplayNestedPropertiesPropertyKey
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey
Field Value
Properties
IndentLevel
Gets field's indentation level.
IsCurrent
Gets or sets a value indicating whether the field is focused.
IsExpanded
Gets or sets a value indicating whether the field is expanded.
IsMouseOver
Gets a value indicating that mouse is over the control.
IsSelected
Gets or sets a value indicating whether the field is selected.
Label
Gets the field's label.
Declaration
public TextBlock Label { get; }
Property Value
TextBlock
The label.
ParentPropertyGrid
Gets the parent property grid.
Declaration
public RadPropertyGrid ParentPropertyGrid { get; }
Property Value
ShouldDisplayNestedItemsControl
Gets or sets a value that indicates whether nested items control should be displayed.
Declaration
public bool ShouldDisplayNestedItemsControl { get; }
Property Value
The should display nested items control.
ShouldDisplayNestedProperties
Gets a value that indicates whether the NestedProperties UI should be visible.
Declaration
public bool ShouldDisplayNestedProperties { get; }
Property Value
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnIsCurrentChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsCurrent property is changed.
Declaration
protected static void OnIsCurrentChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
sender
DependencyObject
The sender.
args
DependencyPropertyChangedEventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.
OnIsExpandedChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsExpanded property is changed.
Declaration
protected static void OnIsExpandedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
sender
DependencyObject
The sender.
args
DependencyPropertyChangedEventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.
OnIsSelectedChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsSelected property is changed.
Declaration
protected static void OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
sender
DependencyObject
The sender.
args
DependencyPropertyChangedEventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.
OnIsSelectedChanged(bool)
Raises the IsSelectedChanged event.
Declaration
protected virtual void OnIsSelectedChanged(bool isSelected)
Parameters
isSelected
if set to true [is selected].
OnPointerEntered(PointerRoutedEventArgs)
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnPointerExited(PointerRoutedEventArgs)
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnTapDown()
Called when TapDown occurs.
Declaration
protected virtual void OnTapDown()
OnUnloaded(object, RoutedEventArgs)
Called when the Unloaded event is Raised.
Declaration
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
sender
The sender.
e
RoutedEventArgs
The System.Windows.RoutedEventArgs instance containing the event data.
Events
IsSelectedChanged
Occurs when a field's IsSelected state changes.
Declaration
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged
Event Value