Class PropertyGridField
Provides UI for displaying and editing of a property in RadPropertyGrid.
Inheritance
Namespace: Telerik.Windows.Controls.Data.PropertyGrid
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class PropertyGridField : ContentControl, IThemable
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
System.
|
IsExpandedProperty
Represents the IsExpandedProperty dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.
|
IsReadOnlyProperty
Represents the IsReadOnly dependency property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
System.
|
IsSelectedChangedEvent
Occurs when a field's IsSelected state changes.
Declaration
public static readonly RoutedEvent IsSelectedChangedEvent
Field Value
System.
|
IsSelectedProperty
Represents the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.
|
ShouldDisplayNestedItemsControlProperty
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty
Field Value
System.
|
ShouldDisplayNestedItemsControlPropertyKey
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey
Field Value
System.
|
ShouldDisplayNestedPropertiesProperty
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty
Field Value
System.
|
ShouldDisplayNestedPropertiesPropertyKey
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey
Field Value
System.
|
Properties
IndentLevel
Gets field's indentation level.
Declaration
public int IndentLevel { get; }
Property Value
System.
|
IsCurrent
Gets or sets a value indicating whether the field is focused.
Declaration
public bool IsCurrent { get; }
Property Value
System.
|
IsExpanded
Gets or sets a value indicating whether the field is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
System.
|
IsSelected
Gets or sets a value indicating whether the field is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.
|
Label
Gets the field's label.
Declaration
public TextBlock Label { get; }
Property Value
System. 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
System. 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
System.
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever
application code or internal processes call
System.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnIsCurrentChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsCurrent property is changed.
Declaration
protected static void OnIsCurrentChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System. The sender. |
System. The System. |
OnIsExpandedChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsExpanded property is changed.
Declaration
protected static void OnIsExpandedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System. The sender. |
System. The System. |
OnIsSelectedChanged(Boolean)
Raises the IsSelectedChanged event.
Declaration
protected virtual void OnIsSelectedChanged(bool isSelected)
Parameters
System. if set to |
OnIsSelectedChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsSelected property is changed.
Declaration
protected static void OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System. The sender. |
System. The System. |
OnMouseLeftButtonDown(Object, MouseButtonEventArgs)
Called when MouseLeftDown occurs.
Declaration
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
Parameters
System. The sender. |
System. The System. |
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
System. The sender. |
System. The System. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
Events
IsSelectedChanged
Occurs when a field's IsSelected state changes.
Declaration
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged
Event Type
System.
|