Combines the PropertyGrid table, its resizable help pane, and the divider used to resize or hide that pane.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridSplitElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementPropertyGridSplitElement...
Implements:
Inherited Members
Constructors
Creates the default PropertyGrid context menu and subscribes to selected-item changes for help-pane content.
public PropertyGridSplitElement()
Properties
Gets the PropertyGridHelpElement.
public PropertyGridHelpElement HelpElement { get; }
Gets or sets the height of the PropertyGridHelpElement.
public float HelpElementHeight { get; set; }
Gets or sets a value indicating whether the PropertyGridHelpElement is visible.
public bool HelpVisible { get; set; }
Gets the PropertyTableElement.
public PropertyGridTableElement PropertyTableElement { get; }
Gets the PropertyGridSizeGripElement.
public PropertyGridSizeGripElement SizeGripElement { get; }
Methods
Captures the mouse and begins tracking a resize of the help pane.
public virtual void BeginResize(int offset)
An initial pointer offset; the current implementation does not use this value.
Clears the title and description text displayed in the help pane.
public virtual void ClearHelpBarText()
Creates and adds the table, resize grip, and help-pane elements.
protected override void CreateChildElements()
Overrides:
Creates the help pane that displays the selected item's label and description.
protected virtual PropertyGridHelpElement CreateHelpElement()
The PropertyGrid help element.
Creates the divider used to resize the help pane.
protected virtual PropertyGridSizeGripElement CreateSizeGripElement()
The help-pane size grip.
Creates the table displayed above the help pane.
protected virtual PropertyGridTableElement CreateTableElement()
The PropertyGrid table element.
Detaches from selected-item changes before releasing managed resources.
protected override void DisposeManagedResources()
Overrides:
Caches the current help-pane height and sets the pane's height to zero.
public virtual void HideHelp()
Initializes the help visibility, resizing, and cached-height state.
protected override void InitializeFields()
Overrides:
Measures the help pane, resize grip, and table in vertical order, then constrains the accumulated size to the available width and remaining height.
Toggles the help pane's height when the user double-clicks its resize grip.
protected override void OnDoubleClick(EventArgs e)
The double-click event data, including the pointer location.
Overrides:
Begins resizing when the pointer is pressed over the help-pane grip.
protected override void OnMouseDown(MouseEventArgs e)
The mouse-down event data.
Overrides:
Resizes the help pane during a drag, or displays a horizontal-resize cursor over its grip.
protected override void OnMouseMove(MouseEventArgs e)
The mouse-move event data.
Overrides:
Ends an active resize and releases mouse capture.
protected override void OnMouseUp(MouseEventArgs e)
The mouse-up event data.
Overrides:
Applies the cached help-pane height and clears the internal hidden-state flag. At non-100% DPI, the cached getter value is written to a setter that stores an unscaled value, so the pane may reopen at a different height.
public virtual void ShowHelp()