ClassFilterViewNumericCategoryElement
Definition
Namespace:Telerik.WinControls.UI.FilterView
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class FilterViewNumericCategoryElement : BaseFilterViewCategoryElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IFilterViewCategory
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseFilterViewCategoryElementFilterViewNumericCategoryElement
Implements:
Inherited Members
Constructors
Fields
Properties
DisplayMode
Declaration
public FilterViewNumericCategoryMode DisplayMode { get; set; }
Property Value
EditorsStack
Gets the stack element which holds the editors.
Declaration
public StackLayoutElement EditorsStack { get; }
Property Value
IsFilterChanged
Gets a value indicating, whether the filter is changed.
Declaration
public override bool IsFilterChanged { get; }
Property Value
Overrides
MainStack
Gets the main stack panel.
Declaration
public StackLayoutPanel MainStack { get; }
Property Value
MaxValueSpinEditor
Gets the maximum value RadSpinEditorElement.
Declaration
public RadSpinEditorElement MaxValueSpinEditor { get; }
Property Value
MaxValueTextElement
Gets the maximum value LightVisualElement.
Declaration
public LightVisualElement MaxValueTextElement { get; }
Property Value
MinValueSpinEditor
Gets the minimum value RadSpinEditorElement.
Declaration
public RadSpinEditorElement MinValueSpinEditor { get; }
Property Value
MinValueTextElement
Gets the minimum value LightVisualElement.
Declaration
public LightVisualElement MinValueTextElement { get; }
Property Value
StepsCount
Gets or sets the number of steps between the min and max values.
TrackBarElement
Gets the RadTrackBarElement.
Declaration
public RadTrackBarElement TrackBarElement { get; }
Property Value
Methods
AdjustSpinEditorProperties()
Declaration
protected virtual void AdjustSpinEditorProperties()
AdjustTrackBarProperties()
Declaration
protected virtual void AdjustTrackBarProperties()
ApplyFilter(FilterDescriptor)
Applies a FilterDescriptor to the category
Declaration
public override bool ApplyFilter(FilterDescriptor filterDescriptor)
Parameters
filterDescriptor
Returns
Overrides
ClearFilter()
CLears the filter.
Declaration
public override void ClearFilter()
Overrides
ClearItems()
Clears the items.
Declaration
public override void ClearItems()
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateEditorsStack()
Declaration
protected virtual StackLayoutElement CreateEditorsStack()
Returns
CreateItems(ICollection<object>)
A method used to create the items of the category based on a given collection of values.
Declaration
public override void CreateItems(ICollection<object> values)
Parameters
values
ICollection<object>
The values.
Overrides
CreateItemsHolder()
Creates the items holder element.
Declaration
public override RadElement CreateItemsHolder()
Returns
Overrides
CreateMainStack()
Declaration
protected virtual StackLayoutPanel CreateMainStack()
Returns
CreateMaxFilter()
Declaration
protected virtual FilterDescriptor CreateMaxFilter()
Returns
CreateMaxValueEditor()
Declaration
protected virtual RadSpinEditorElement CreateMaxValueEditor()
Returns
CreateMaxValueTextElement()
Declaration
protected virtual LightVisualElement CreateMaxValueTextElement()
Returns
CreateMinFilter()
Declaration
protected virtual FilterDescriptor CreateMinFilter()
Returns
CreateMinValueEditor()
Declaration
protected virtual RadSpinEditorElement CreateMinValueEditor()
Returns
CreateMinValueTextElement()
Declaration
protected virtual LightVisualElement CreateMinValueTextElement()
Returns
CreateTrackBarElement()
Declaration
protected virtual RadTrackBarElement CreateTrackBarElement()
Returns
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
GetFilter()
Gets the FilterDescriptor. Note that if the filter is not changed this method will return null.
Declaration
public override FilterDescriptor GetFilter()
Returns
Overrides
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
SetMaxEditorValue(decimal?)
Declaration
protected virtual void SetMaxEditorValue(decimal? newValue)
Parameters
newValue
SetMinEditorValue(decimal?)
Declaration
protected virtual void SetMinEditorValue(decimal? newValue)
Parameters
newValue