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.
IndentIndicatorBackground
Gets or sets the Brush used for the indent indicator background.
public Brush IndentIndicatorBackground { get; set; }
Property Value
IsInactiveSelectionVisible
Gets or sets whether an inactive selection is visible.
public bool IsInactiveSelectionVisible { get; set; }
Property Value
- bool:
trueif an inactive selection is visible; otherwise,false. The default value istrue.
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 |
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 |
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:
trueif 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:
trueif 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
- TreeListViewItem.IsLocationOverBackground(Point)
- TreeListViewItem.OnApplyTemplate()
- TreeListViewItem.OnIndentAmountChanged()
- TreeListBoxItem.DefaultActionCommandProperty
- TreeListBoxItem.DropIndicatorAreaProperty
- TreeListBoxItem.IndentAmountProperty
- TreeListBoxItem.IsExpandableProperty
- TreeListBoxItem.IsExpandedProperty
- TreeListBoxItem.IsSelectableProperty
- TreeListBoxItem.IsSelectedProperty
- TreeListBoxItem.ToggleExpansionButtonStyleProperty
- TreeListBoxItem.InnerBorderThicknessProperty
- TreeListBoxItem.TreeLineBrushProperty
- TreeListBoxItem.OnDragEnter(DragEventArgs)
- TreeListBoxItem.OnDragLeave(DragEventArgs)
- TreeListBoxItem.OnDragOver(DragEventArgs)
- TreeListBoxItem.OnDrop(DragEventArgs)
- TreeListBoxItem.OnGotFocus(RoutedEventArgs)
- TreeListBoxItem.OnLostFocus(RoutedEventArgs)
- TreeListBoxItem.ToString()
- TreeListBoxItem.OnContextMenuOpening(ContextMenuEventArgs)
- TreeListBoxItem.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
- TreeListBoxItem.OnTextInput(TextCompositionEventArgs)
- TreeListBoxItem.DefaultActionCommand
- TreeListBoxItem.DropIndicatorArea
- TreeListBoxItem.IndentAmount
- TreeListBoxItem.IsExpandable
- TreeListBoxItem.IsExpanded
- TreeListBoxItem.IsSelectable
- TreeListBoxItem.IsSelected
- TreeListBoxItem.ToggleExpansionButtonStyle
- TreeListBoxItem.InnerBorderThickness
- TreeListBoxItem.TreeLineBrush