New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

C#
public class VisibleRange : PlatformIndependentFreezable, INotifyPropertyChanged, IDateRange

Inheritance: objectPlatformIndependentFreezableVisibleRange

Implements: IDateRangeINotifyPropertyChanged

Inherited Members PlatformIndependentFreezable.CreateInstanceCore()

Constructors

Initializes a new instance of the VisibleRange class.

C#
public VisibleRange()

Initializes a new instance of the VisibleRange class.

C#
public VisibleRange(DateTime start, DateTime end)
Parameters:startDateTime

The start.

endDateTime

The end.

Fields

EndProperty

DependencyProperty

Identifies the VisibleRangeEnd dependency property.

C#
public static readonly DependencyProperty EndProperty

StartProperty

DependencyProperty

Identifies the VisibleRangeStart dependency property.

C#
public static readonly DependencyProperty StartProperty

Properties

Gets or sets the End of the range. This is a dependency property.

C#
public DateTime End { get; set; }

Implements: IDateRange.End

Gets or sets the Start of the range. This is a dependency property.

C#
public DateTime Start { get; set; }

Implements: IDateRange.Start

Methods

When implemented in a derived class, creates a new instance of the derived class.

C#
protected override PlatformIndependentFreezable CreateInstanceOverride()
Returns:

PlatformIndependentFreezable

The new instance.

Overrides: PlatformIndependentFreezable.CreateInstanceOverride()

Raises the PropertyChanged event. This method is called when a property of this control is changed.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that was changed.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged