ClassPropertyGridToolbarElement
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
PropertyGridToolbarElement()
Declaration
public PropertyGridToolbarElement()
Fields
ToolbarElementHeightProperty
Declaration
public static RadProperty ToolbarElementHeightProperty
Field Value
Properties
AlphabeticalToggleButton
Gets the RadToggleButtonElement that enables Alphabetical view in the RadPropertyGrid
Declaration
public AlphabeticalToggleButton AlphabeticalToggleButton { get; }
Property Value
CategorizedToggleButton
Gets the RadToggleButtonElement that enables CategorizedAlphabetical view in the RadPropertyGrid
Declaration
public CategorizedAlphabeticalToggleButton CategorizedToggleButton { get; }
Property Value
FilterOperator
Gets or sets the filter operator which will be used for the search.
Declaration
[Browsable(true)]
public FilterOperator FilterOperator { get; set; }
Property Value
FilterPropertyName
Gets or sets the property name by which the search will be performed.
Declaration
[Browsable(true)]
public string FilterPropertyName { get; set; }
Property Value
FilterValue
Gets or sets the value by which the search will be performed.
Declaration
[Browsable(true)]
public object FilterValue { get; set; }
Property Value
PropertyGridElement
Gets the parent PropertyGridElement.
Declaration
public PropertyGridElement PropertyGridElement { get; }
Property Value
SearchTextBoxElement
Gets the RadTextBoxElement.
Declaration
public ToolbarTextBoxElement SearchTextBoxElement { get; }
Property Value
ToolbarElementHeight
Gets or sets the height of the PropertyGridToolbarElement.
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
ExecuteSearch()
Executes a search with the current state of the filter.
Declaration
protected virtual void ExecuteSearch()
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
OnToggleButtonToggleStateChanged(RadToggleButtonElement, StateChangedEventArgs)
Executed when one of the toggle buttons ToggleState changes.
Declaration
protected virtual void OnToggleButtonToggleStateChanged(RadToggleButtonElement button, StateChangedEventArgs args)
Parameters
button
The button that triggered the event.
args
The event arguments.
SyncronizeToggleButtons()
Synchronizes the default toggle buttons in the PropertyGridToolbarElement with the PropertySort property of the PropertyGridElement.
Declaration
public virtual void SyncronizeToggleButtons()
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()