PropertyGridField
Provides UI for displaying and editing of a property in RadPropertyGrid.
Definition
Namespace:Telerik.Windows.Controls.Data.PropertyGrid
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class PropertyGridField : ContentControl
Inheritance: objectPropertyGridField
Constructors
Initializes a new instance of the PropertyGridField class.
public PropertyGridField()
Fields
IsCurrentProperty
DependencyProperty
Represents the IsCurrent dependency property.
public static readonly DependencyProperty IsCurrentProperty
IsExpandedProperty
DependencyProperty
Represents the IsExpandedProperty dependency property.
public static readonly DependencyProperty IsExpandedProperty
IsReadOnlyProperty
DependencyProperty
Represents the IsReadOnly dependency property.
public static readonly DependencyProperty IsReadOnlyProperty
IsSelectedChangedEvent
RoutedEvent
Occurs when a field's IsSelected state changes.
public static readonly RoutedEvent IsSelectedChangedEvent
IsSelectedProperty
DependencyProperty
Represents the IsSelected dependency property.
public static readonly DependencyProperty IsSelectedProperty
ShouldDisplayNestedItemsControlProperty
DependencyProperty
Represents the ShouldDisplayNestedItemsControl dependency property.
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty
ShouldDisplayNestedItemsControlPropertyKey
DependencyPropertyKey
Represents the ShouldDisplayNestedItemsControl dependency property.
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey
ShouldDisplayNestedPropertiesProperty
DependencyProperty
Represents the ShouldDisplayNestedProperties dependency property.
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty
ShouldDisplayNestedPropertiesPropertyKey
DependencyPropertyKey
Represents the ShouldDisplayNestedProperties dependency property.
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey
Properties
Gets field's indentation level.
public int IndentLevel { get; }
Gets or sets a value indicating whether the field is focused.
public bool IsCurrent { get; }
Gets or sets a value indicating whether the field is expanded.
public bool IsExpanded { get; set; }
Gets or sets a value indicating whether the field is selected.
public bool IsSelected { get; set; }
Label
TextBlock
Gets the field's label.
public TextBlock Label { get; }
The label.
Gets the parent property grid.
public RadPropertyGrid ParentPropertyGrid { get; }
Gets or sets a value that indicates whether nested items control should be displayed.
public bool ShouldDisplayNestedItemsControl { get; }
The should display nested items control.
Gets a value that indicates whether the NestedProperties UI should be visible.
public bool ShouldDisplayNestedProperties { get; }
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when IsCurrent property is changed.
protected static void OnIsCurrentChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
The sender.
argsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Called when IsExpanded property is changed.
protected static void OnIsExpandedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
The sender.
argsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Raises the IsSelectedChanged event.
protected virtual void OnIsSelectedChanged(bool isSelected)
if set to true [is selected].
Called when IsSelected property is changed.
protected static void OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
The sender.
argsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Called when MouseLeftDown occurs.
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
The sender.
eMouseButtonEventArgsThe MouseButtonEventArgs instance containing the event data.
Called when TapDown occurs.
protected virtual void OnTapDown()
Called when the Unloaded event is Raised.
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
The sender.
eRoutedEventArgsThe RoutedEventArgs instance containing the event data.
Resets the theme.
public void ResetTheme()
Events
Occurs when a field's IsSelected state changes.
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged