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 class.

public PropertyGridItem()

Properties

GridLineBrush

The Brush used for row grid lines.

public Brush? GridLineBrush { get; set; }

Property Value

Brush

IndentIndicatorBackground

The Brush used for the indent indicator background.

public Brush? IndentIndicatorBackground { get; set; }

Property Value

Brush

IsInactiveSelectionVisible

Indicates 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 class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

OnDoubleTapped(InputPointerButtonEventArgs)

Occurs when the item is double-tapped.

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

The event data.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

The KeyboardFocusChangedEventArgs that contains the event data.

OnKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

The KeyEventArgs that contains the event data.

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

The KeyboardFocusChangedEventArgs that contains event data.

OnPreviewTextInput(TextCompositionEventArgs)

Invoked when an unhandled System.Windows.Input.TextCompositionManager.PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

Defines the GridLineBrush property.

public static readonly DependencyProperty GridLineBrushProperty

IndentIndicatorBackgroundProperty

Defines the IndentIndicatorBackground property.

public static readonly DependencyProperty IndentIndicatorBackgroundProperty

IsInactiveSelectionVisibleProperty

Defines the IsInactiveSelectionVisible property.

public static readonly DependencyProperty IsInactiveSelectionVisibleProperty

Inherited Members

Extension Methods