In This Article

PropertyGridItem Class

Represents an item for a ActiproSoftware.Windows.Controls.Grids.PropertyGridItem.PropertyGrid control.

public class PropertyGridItem : TreeListViewItem
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl TreeListBoxItem TreeListViewItem object

Constructors

PropertyGridItem()

Initializes an instance of the PropertyGridItem class.

public PropertyGridItem()

Properties

GridLineBrush

Gets or sets the Brush used for row grid lines.

public Brush GridLineBrush { get; set; }

Property Value

Brush:

The Brush used for row grid lines.

IndentIndicatorBackground

Gets or sets the Brush used for the indent indicator background.

public Brush IndentIndicatorBackground { get; set; }

Property Value

Brush:

The Brush used for the indent indicator background.

IsInactiveSelectionVisible

Gets or sets whether an inactive selection is visible.

public bool IsInactiveSelectionVisible { get; set; }

Property Value

bool:

true if an inactive selection is visible; otherwise, false. The default value is true.

Methods

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

OnDoubleTapped(InputPointerButtonEventArgs)

Occurs when the item is double-tapped.

protected override void OnDoubleTapped(InputPointerButtonEventArgs e)
Parameter Type Description
e InputPointerButtonEventArgs

The InputPointerButtonEventArgs containing data related to this event.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Occurs when a control within this control's hierarchy gains keyboard focus.

protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameter Type Description
e KeyboardFocusChangedEventArgs

The KeyboardFocusChangedEventArgs that contains data related to this event.

OnKeyDown(KeyEventArgs)

Occurs when a key is pressed.

protected override void OnKeyDown(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The KeyEventArgs that contains the event data.

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Occurs when a control within this control's hierarchy gains keyboard focus.

protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameter Type Description
e KeyboardFocusChangedEventArgs

The KeyboardFocusChangedEventArgs that contains data related to this event.

OnPreviewTextInput(TextCompositionEventArgs)

Occurs before text input is sent to the control.

protected override void OnPreviewTextInput(TextCompositionEventArgs e)
Parameter Type Description
e TextCompositionEventArgs

The TextCompositionEventArgs that contains the event data.

TryCancelPropertyValueEdit()

Tries to cancel a pending property value edit, generally in response to an Escape key press.

protected virtual bool TryCancelPropertyValueEdit()

Returns

bool:

true if the cancel was handled; otherwise, false.

TryCommitPropertyValueEdit()

Tries to commit a pending property value edit, generally in response to an Enter key press.

protected virtual bool TryCommitPropertyValueEdit()

Returns

bool:

true if the commit was handled; otherwise, false.

Fields

GridLineBrushProperty

Identifies the GridLineBrush dependency property. This field is read-only.

public static readonly DependencyProperty GridLineBrushProperty

IndentIndicatorBackgroundProperty

Identifies the IndentIndicatorBackground dependency property. This field is read-only.

public static readonly DependencyProperty IndentIndicatorBackgroundProperty

IsInactiveSelectionVisibleProperty

Identifies the IsInactiveSelectionVisible dependency property. This field is read-only.

public static readonly DependencyProperty IsInactiveSelectionVisibleProperty

Inherited Members