ClassBaseTimeSpanPickerComponent
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class BaseTimeSpanPickerComponent : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, ITimeSpanPickerComponent
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemBaseTimeSpanPickerComponent
Derived Classes:
Implements:
Inherited Members
Constructors
BaseTimeSpanPickerComponent(ITimeSpanPickerContentElement)
Declaration
public BaseTimeSpanPickerComponent(ITimeSpanPickerContentElement owner)
Parameters
owner
Fields
Properties
DefaultSize
Gets or sets the default size for the visual element.
Declaration
public override Size DefaultSize { get; set; }
Property Value
Overrides
Remarks
The default size is used as the preferred size when measuring and arranging elements. This property is inheritable through the element tree and affects layout calculations.
Owner
Declaration
public ITimeSpanPickerContentElement Owner { get; }
Property Value
Implements
TimeSpanPickerUIComponent
Declaration
public BaseTimeSpanPickerUIComponent TimeSpanPickerUIComponent { get; }
Property Value
Implements
Methods
CreateVisualElement()
Creates the visual element.
Declaration
public abstract BaseTimeSpanPickerUIComponent CreateVisualElement()
Returns
Implements
InitializeFields()
Initializes the fields of this instance with their default values.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
SetValue(TimeSpan)
Declaration
public abstract void SetValue(TimeSpan value)
Parameters
value
Implements
UpdateLocalization()
Declaration
public abstract void UpdateLocalization()
Implements