Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridToolbarElement : StackLayoutElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementStackLayoutElementPropertyGridToolbarElement...
Implements:
Inherited Members
Constructors
public PropertyGridToolbarElement()
Fields
public static RadProperty ToolbarElementHeightProperty
Properties
Gets the RadToggleButtonElement that enables Alphabetical view in the RadPropertyGrid
public AlphabeticalToggleButton AlphabeticalToggleButton { get; }
Gets the RadToggleButtonElement that enables CategorizedAlphabetical view in the RadPropertyGrid
public CategorizedAlphabeticalToggleButton CategorizedToggleButton { get; }
Gets or sets the filter operator which will be used for the search.
[Browsable(true)]
public FilterOperator FilterOperator { get; set; }
Gets or sets the property name by which the search will be performed.
[Browsable(true)]
public string FilterPropertyName { get; set; }
Gets or sets the value by which the search will be performed.
[Browsable(true)]
public object FilterValue { get; set; }
Gets the parent PropertyGridElement.
public PropertyGridElement PropertyGridElement { get; }
Gets the RadTextBoxElement.
public ToolbarTextBoxElement SearchTextBoxElement { get; }
Gets or sets the height of the PropertyGridToolbarElement.
public float ToolbarElementHeight { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Disposes of managed resources including cached images and SVG images when the element is being disposed.
protected override void DisposeManagedResources()
Overrides:
Executes a search with the current state of the filter.
protected virtual void ExecuteSearch()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Event arguments containing information about the property that changed.
Overrides:
Executed when one of the toggle buttons ToggleState changes.
protected virtual void OnToggleButtonToggleStateChanged(RadToggleButtonElement button, StateChangedEventArgs args)
The button that triggered the event.
argsStateChangedEventArgsThe event arguments.
Synchronizes the default toggle buttons in the PropertyGridToolbarElement with the PropertySort property of the PropertyGridElement.
public virtual void SyncronizeToggleButtons()
protected virtual void UnwireEvents()
protected virtual void WireEvents()