In This Article

PropertyGridItem Class

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

public class PropertyGridItem : TreeListViewItem, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.ContentControl TreeListBoxItem TreeListViewItem Object

Constructors

PropertyGridItem()

Initializes an instance of the PropertyGridItem class.

public PropertyGridItem()

Properties

GridLineBrush

Gets or sets the System.Windows.Media.Brush used for row grid lines.

public Brush GridLineBrush { get; set; }

Property Value

System.Windows.Media.Brush:

The System.Windows.Media.Brush used for row grid lines.

IndentIndicatorBackground

Gets or sets the System.Windows.Media.Brush used for the indent indicator background.

public Brush IndentIndicatorBackground { get; set; }

Property Value

System.Windows.Media.Brush:

The System.Windows.Media.Brush used for the indent indicator background.

IsInactiveSelectionVisible

Gets or sets whether an inactive selection is visible.

public bool IsInactiveSelectionVisible { get; set; }

Property Value

System.Boolean:

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

Methods

OnCreateAutomationPeer()

Returns an System.Windows.Automation.Peers.AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

System.Windows.Automation.Peers.AutomationPeer:

An System.Windows.Automation.Peers.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 System.Windows.Input.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 System.Windows.Input.KeyEventArgs

The System.Windows.Input.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 System.Windows.Input.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 System.Windows.Input.TextCompositionEventArgs

The System.Windows.Input.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

System.Boolean:

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

System.Boolean:

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

Extension Methods