Class
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:

cs-api-definition
public class PropertyGridField : ContentControl

Inheritance: objectPropertyGridField

Constructors

PropertyGridField()

Initializes a new instance of the PropertyGridField class.

Declaration

cs-api-definition
public PropertyGridField()

Fields

IsCurrentProperty

Represents the IsCurrent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsCurrentProperty

Field Value

DependencyProperty

IsExpandedProperty

Represents the IsExpandedProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Represents the IsReadOnly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

IsSelectedChangedEvent

Occurs when a field's IsSelected state changes.

Declaration

cs-api-definition
public static readonly RoutedEvent IsSelectedChangedEvent

Field Value

RoutedEvent

IsSelectedProperty

Represents the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

ShouldDisplayNestedItemsControlProperty

Represents the ShouldDisplayNestedItemsControl dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShouldDisplayNestedItemsControlProperty

Field Value

DependencyProperty

ShouldDisplayNestedItemsControlPropertyKey

Represents the ShouldDisplayNestedItemsControl dependency property.

Declaration

cs-api-definition
public static readonly DependencyPropertyKey ShouldDisplayNestedItemsControlPropertyKey

Field Value

DependencyPropertyKey

ShouldDisplayNestedPropertiesProperty

Represents the ShouldDisplayNestedProperties dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShouldDisplayNestedPropertiesProperty

Field Value

DependencyProperty

ShouldDisplayNestedPropertiesPropertyKey

Represents the ShouldDisplayNestedProperties dependency property.

Declaration

cs-api-definition
public static readonly DependencyPropertyKey ShouldDisplayNestedPropertiesPropertyKey

Field Value

DependencyPropertyKey

Properties

IndentLevel

Gets field's indentation level.

Declaration

cs-api-definition
public int IndentLevel { get; }

Property Value

int

IsCurrent

Gets or sets a value indicating whether the field is focused.

Declaration

cs-api-definition
public bool IsCurrent { get; }

Property Value

bool

IsExpanded

Gets or sets a value indicating whether the field is expanded.

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

IsSelected

Gets or sets a value indicating whether the field is selected.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Label

Gets the field's label.

Declaration

cs-api-definition
public TextBlock Label { get; }

Property Value

TextBlock

The label.

ParentPropertyGrid

Gets the parent property grid.

Declaration

cs-api-definition
public RadPropertyGrid ParentPropertyGrid { get; }

Property Value

RadPropertyGrid

ShouldDisplayNestedItemsControl

Gets or sets a value that indicates whether nested items control should be displayed.

Declaration

cs-api-definition
public bool ShouldDisplayNestedItemsControl { get; }

Property Value

bool

The should display nested items control.

ShouldDisplayNestedProperties

Gets a value that indicates whether the NestedProperties UI should be visible.

Declaration

cs-api-definition
public bool ShouldDisplayNestedProperties { get; }

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsCurrentChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsCurrent property is changed.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected virtual void OnIsSelectedChanged(bool isSelected)

Parameters

isSelected

bool

if set to true [is selected].

OnMouseLeftButtonDown(object, MouseButtonEventArgs)

Called when MouseLeftDown occurs.

Declaration

cs-api-definition
protected virtual void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)

Parameters

sender

object

The sender.

e

MouseButtonEventArgs

The MouseButtonEventArgs instance containing the event data.

OnTapDown()

Called when TapDown occurs.

Declaration

cs-api-definition
protected virtual void OnTapDown()

OnUnloaded(object, RoutedEventArgs)

Called when the Unloaded event is Raised.

Declaration

cs-api-definition
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The RoutedEventArgs instance containing the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

Events

IsSelectedChanged

Occurs when a field's IsSelected state changes.

Declaration

cs-api-definition
public event EventHandler<PropertyGridFieldEventArgs> IsSelectedChanged

Event Value

EventHandler<PropertyGridFieldEventArgs>