Class
GroupHeader

Represents the GroupHeader visual element in RadScheduleView control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class GroupHeader : ContentControl

Inheritance: objectGroupHeader

Constructors

GroupHeader()

Initializes a new instance of the GroupHeader class.

Declaration

cs-api-definition
public GroupHeader()

Fields

CommandParameterProperty

Identifies the CommandParameter DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Identifies the Command DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

ExpandButtonVisibilityProperty

Identifies ExpandButtonVisibility read-only dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ExpandButtonVisibilityProperty

Field Value

DependencyProperty

IsExpandedProperty

Identifies IsExpanded dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

IsTodayProperty

Identifies IsToday read-only dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsTodayProperty

Field Value

DependencyProperty

LevelProperty

Identifies Level read-only dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LevelProperty

Field Value

DependencyProperty

OrientationProperty

Identifies Orientation read-only dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

Command

Gets or sets the command to invoke when this GroupHeader's button is pressed.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

Gets or sets the parameter to pass to the Command property when this GroupHeader's button is pressed.

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

ExpandButtonVisibility

Gets whether ExpandButton will be visible.

Declaration

cs-api-definition
public Visibility ExpandButtonVisibility { get; }

Property Value

Visibility

GroupKey

Gets the key of current group.

Declaration

cs-api-definition
public object GroupKey { get; }

Property Value

object

IsBottomLevel

Gets whether this is bottom level group.

Declaration

cs-api-definition
public bool IsBottomLevel { get; }

Property Value

bool

IsExpanded

Gets or sets whether GroupHeader is expanded or collapsed when in MonthView.

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

IsToday

Gets is the key of the group is DateTime and is equals to DateTime.Today.

Declaration

cs-api-definition
public bool IsToday { get; }

Property Value

bool

Items

Gets the Appointments in the group.

Declaration

cs-api-definition
public ReadOnlyObservableCollection<object> Items { get; }

Property Value

ReadOnlyObservableCollection<object>

Level

Gets the Level at which this group is.

Declaration

cs-api-definition
public int Level { get; }

Property Value

int

Orientation

Gets the Orientation of the GroupHeader. This is read-only dependency property that depends on the Orientation of ViewDefinition.

Declaration

cs-api-definition
public Orientation Orientation { get; }

Property Value

Orientation

ParentKeys

Gets the keys of parent groups.

Declaration

cs-api-definition
public IEnumerable<object> ParentKeys { get; }

Property Value

IEnumerable<object>

TimeRulerPixelLength

Declaration

cs-api-definition
public double TimeRulerPixelLength { get; }

Property Value

double

Methods

ChangeVisualState(bool)

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

GoToState(bool, params string[])

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

stateNames

string[]

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs