ClassPropertyGridField
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
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
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
RoutedEvent
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
DependencyPropertyKey
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
DependencyPropertyKey
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.
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
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
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 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 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 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].
OnMouseLeftButtonDown(object, MouseButtonEventArgs)
Called when MouseLeftDown occurs.
Declaration
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
Parameters
sender
The sender.
e
MouseButtonEventArgs
The MouseButtonEventArgs instance containing the event data.
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 RoutedEventArgs instance containing the event data.
Events
IsSelectedChanged
Occurs when a field's IsSelected state changes.
Declaration
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged
Event Value