Class TimeBarPanelBase
Base class for all panels used in Rad
Inheritance
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class TimeBarPanelBase : Panel
Constructors
TimeBarPanelBase()
Fields
SliderMaximumProperty
Identifies the Slider
Declaration
public static readonly DependencyProperty SliderMaximumProperty
Field Value
System.
|
SliderMinimumProperty
Identifies the Slider
Declaration
public static readonly DependencyProperty SliderMinimumProperty
Field Value
System.
|
SliderProperty
Identifies the Slider dependency property.
Declaration
public static readonly DependencyProperty SliderProperty
Field Value
System.
|
Properties
PeriodEnd
Gets or sets the end of the period that the control visualizes. The Period
Declaration
public DateTime PeriodEnd { get; protected set; }
Property Value
System. The end of the period that the control visualizes. |
Remarks
The Period
PeriodStart
Gets or sets the start of the period that the control visualizes.
Declaration
public DateTime PeriodStart { get; protected set; }
Property Value
System. The start of the period that the control visualizes. |
Remarks
The Period
PixelsPerTick
Gets or sets the number of pixels per tick.
Declaration
protected double PixelsPerTick { get; set; }
Property Value
System. The number of pixels per tick. |
Slider
Gets or sets the Rad
Declaration
public RadSlider Slider { get; set; }
Property Value
Rad The Rad |
SliderMaximum
Gets or sets the System.
Declaration
public double SliderMaximum { get; set; }
Property Value
System. The System. |
SliderMinimum
Gets or sets the System.
Declaration
public double SliderMinimum { get; set; }
Property Value
System. The System. |
VisiblePeriodEnd
Gets or sets the end of the visible period.
Declaration
public DateTime VisiblePeriodEnd { get; protected set; }
Property Value
System. The end of the visible period. |
Remarks
The Visible
VisiblePeriodStart
Gets or sets the start of the visible period.
Declaration
public DateTime VisiblePeriodStart { get; protected set; }
Property Value
System. The start of the visible period. |
Remarks
The Visible
Methods
CalculateAvailableSize(Size)
Calculates the available size for the panel and its children based on the System.
Declaration
protected static Size CalculateAvailableSize(Size availableSize)
Parameters
System. The System. |
Returns
System. The System. |
CalculateItemSize(Int64)
Calculates the size of an item in pixels based on the period in System.
Declaration
protected virtual double CalculateItemSize(long ticks)
Parameters
System. The period in System. |
Returns
System. The size of the item in pixels. |
CalculatePixelsPerTick(Double)
Calculates the number of pixels per tick based on the specified System.
Declaration
protected virtual double CalculatePixelsPerTick(double size)
Parameters
System. The System. |
Returns
System. The number of pixels per tick. |
CalculatePixelsPerTick(Double, Int64)
Calculates the number of pixels per tick based on the specified System.
Declaration
protected static double CalculatePixelsPerTick(double size, long ticks)
Parameters
System. The System. |
System. The period in System. |
Returns
System. The number of pixels per tick. |
OnSizeChanged(Object, SizeChangedEventArgs)
Called when either the System.
Declaration
protected virtual void OnSizeChanged(object sender, SizeChangedEventArgs e)
Parameters
System. The panel where the event handler is attached. |
System. The System. |
UpdateScroll(Size)
Updates the properties of the panel based on the state of the Slider. This method should be called in System.
Declaration
protected virtual void UpdateScroll(Size size)
Parameters
System. The System. |