ClassFilterViewDateTimeCategoryElement
Definition
Namespace:Telerik.WinControls.UI.FilterView
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class FilterViewDateTimeCategoryElement : BaseFilterViewCategoryElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IFilterViewCategory
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseFilterViewCategoryElementFilterViewDateTimeCategoryElement
Implements:
Inherited Members
Constructors
Fields
Properties
EditorsStack
Gets the stack with text labels and 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.
Declaration
public StackLayoutPanel MainStack { get; }
Property Value
MaxValueDateTimePicker
Gets the maximal value RadDateTimePickerElement.
Declaration
public RadDateTimePickerElement MaxValueDateTimePicker { get; }
Property Value
MaxValueTextElement
Gets the maximal value text element.
Declaration
public LightVisualElement MaxValueTextElement { get; }
Property Value
MinValueDateTimePicker
Gets the minimal value RadDateTimePickerElement.
Declaration
public RadDateTimePickerElement MinValueDateTimePicker { get; }
Property Value
MinValueTextElement
Gets the minimal value text element.
Declaration
public LightVisualElement MinValueTextElement { get; }
Property Value
Methods
AdjustDateTimePickerProperties()
Declaration
protected virtual void AdjustDateTimePickerProperties()
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 RadDateTimePickerElement CreateMaxValueEditor()
Returns
CreateMaxValueTextElement()
Declaration
protected virtual LightVisualElement CreateMaxValueTextElement()
Returns
CreateMinFilter()
Declaration
protected virtual FilterDescriptor CreateMinFilter()
Returns
CreateMinValueEditor()
Declaration
protected virtual RadDateTimePickerElement CreateMinValueEditor()
Returns
CreateMinValueTextElement()
Declaration
protected virtual LightVisualElement CreateMinValueTextElement()
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(DateTime?)
Declaration
protected virtual void SetMaxEditorValue(DateTime? newValue)
Parameters
newValue
SetMinEditorValue(DateTime?)
Declaration
protected virtual void SetMinEditorValue(DateTime? newValue)
Parameters
newValue