Class
PeriodSpanControlAdapter

Provides implementation of IPeriodSpan interface for a Control class.

Definition

Namespace:Telerik.Windows.Controls.TimeBar

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public abstract class PeriodSpanControlAdapter : Control, IPeriodSpan

Inheritance: objectPeriodSpanControlAdapter

Derived Classes: SelectionIndicatorSelectionThumbSelectionThumbPreviewShadeControl

Implements: IPeriodSpan

Constructors

PeriodSpanControlAdapter()

Declaration

cs-api-definition
protected PeriodSpanControlAdapter()

Fields

EndDateProperty

Identifies the EndDate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EndDateProperty

Field Value

DependencyProperty

StartDateProperty

Identifies the StartDate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartDateProperty

Field Value

DependencyProperty

Properties

EndDate

Gets or sets the end date of the PeriodSpanControlAdapter.

Declaration

cs-api-definition
public DateTime EndDate { get; set; }

Property Value

DateTime

The end date of the PeriodSpanControlAdapter.

Implements IPeriodSpan.EndDate

Interval

Gets the time interval of the PeriodSpanControlAdapter.

Declaration

cs-api-definition
[Browsable(false)]
public TimeSpan Interval { get; }

Property Value

TimeSpan

The time interval of the PeriodSpanControlAdapter.

Implements IPeriodSpan.Interval

StartDate

Gets or sets the start date of the PeriodSpanControlAdapter.

Declaration

cs-api-definition
public DateTime StartDate { get; set; }

Property Value

DateTime

The start date of the PeriodSpanControlAdapter.

Implements IPeriodSpan.StartDate

Methods

OnIntervalChanged()

Called when the Interval of the PeriodSpanControlAdapter changes.

Declaration

cs-api-definition
protected virtual void OnIntervalChanged()