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.Windows.DependencyProperty
|
IsExpandedProperty
Represents the IsExpandedProperty dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.Windows.DependencyProperty
|
IsReadOnlyProperty
Represents the IsReadOnly dependency property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectedChangedEvent
Occurs when a field's IsSelected state changes.
Declaration
public static readonly RoutedEvent IsSelectedChangedEvent
Field Value
System.Windows.RoutedEvent
|
IsSelectedProperty
Represents the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
ShouldDisplayNestedItemsControlProperty
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty
Field Value
System.Windows.DependencyProperty
|
ShouldDisplayNestedItemsControlPropertyKey
Represents the ShouldDisplayNestedItemsControl dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey
Field Value
System.Windows.DependencyPropertyKey
|
ShouldDisplayNestedPropertiesProperty
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty
Field Value
System.Windows.DependencyProperty
|
ShouldDisplayNestedPropertiesPropertyKey
Represents the ShouldDisplayNestedProperties dependency property.
Declaration
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey
Field Value
System.Windows.DependencyPropertyKey
|
Properties
IndentLevel
Gets field's indentation level.
Declaration
public int IndentLevel { get; }
Property Value
System.Int32
|
IsCurrent
Gets or sets a value indicating whether the field is focused.
Declaration
public bool IsCurrent { get; }
Property Value
System.Boolean
|
IsExpanded
Gets or sets a value indicating whether the field is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean
|
IsSelected
Gets or sets a value indicating whether the field is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
Label
Gets the field's label.
Declaration
public TextBlock Label { get; }
Property Value
System.Windows.Controls.TextBlock
The label. |
ParentPropertyGrid
Gets the parent property grid.
Declaration
public RadPropertyGrid ParentPropertyGrid { get; }
Property Value
RadPropertyGrid
|
ShouldDisplayNestedItemsControl
Gets or sets a value that indicates whether nested items control should be displayed.
Declaration
public bool ShouldDisplayNestedItemsControl { get; }
Property Value
System.Boolean
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.Boolean
|
Methods
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()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.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
System.Windows.DependencyObject
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
args
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
System.Windows.DependencyObject
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
args
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnIsSelectedChanged(Boolean)
Raises the IsSelectedChanged event.
Declaration
protected virtual void OnIsSelectedChanged(bool isSelected)
Parameters
System.Boolean
isSelected
if set to |
OnIsSelectedChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsSelected property is changed.
Declaration
protected static void OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
args
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnMouseLeftButtonDown(Object, MouseButtonEventArgs)
Called when MouseLeftDown occurs.
Declaration
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
Parameters
System.Object
sender
The sender. |
System.Windows.Input.MouseButtonEventArgs
e
The System.Windows.Input.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
System.Object
sender
The sender. |
System.Windows.RoutedEventArgs
e
The System.Windows.RoutedEventArgs instance containing the event data. |
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.EventHandler<PropertyGridFieldEventArgs>
|