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

Represents the GroupHeader visual element in RadScheduleView control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class GroupHeader : ContentControl

Inheritance: objectGroupHeader

Constructors

Initializes a new instance of the GroupHeader class.

C#
public GroupHeader()

Fields

CommandParameterProperty

DependencyProperty

Identifies the CommandParameter DependencyProperty.

C#
public static readonly DependencyProperty CommandParameterProperty

CommandProperty

DependencyProperty

Identifies the Command DependencyProperty.

C#
public static readonly DependencyProperty CommandProperty

Identifies ExpandButtonVisibility read-only dependency property.

C#
public static readonly DependencyProperty ExpandButtonVisibilityProperty

IsExpandedProperty

DependencyProperty

Identifies IsExpanded dependency property.

C#
public static readonly DependencyProperty IsExpandedProperty

IsTodayProperty

DependencyProperty

Identifies IsToday read-only dependency property.

C#
public static readonly DependencyProperty IsTodayProperty

LevelProperty

DependencyProperty

Identifies Level read-only dependency property.

C#
public static readonly DependencyProperty LevelProperty

OrientationProperty

DependencyProperty

Identifies Orientation read-only dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

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

C#
public ICommand Command { get; set; }

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

C#
public object CommandParameter { get; set; }

Gets whether ExpandButton will be visible.

C#
public Visibility ExpandButtonVisibility { get; }

Gets the key of current group.

C#
public object GroupKey { get; }

Gets whether this is bottom level group.

C#
public bool IsBottomLevel { get; }

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

C#
public bool IsExpanded { get; set; }

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

C#
public bool IsToday { get; }

Gets the Appointments in the group.

C#
public ReadOnlyObservableCollection<object> Items { get; }

Gets the Level at which this group is.

C#
public int Level { get; }

Orientation

Orientation

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

C#
public Orientation Orientation { get; }

Gets the keys of parent groups.

C#
public IEnumerable<object> ParentKeys { get; }
C#
public double TimeRulerPixelLength { get; }

Methods

C#
protected virtual void ChangeVisualState(bool useTransitions)
Parameters:useTransitionsbool
C#
protected void GoToState(bool useTransitions, params string[] stateNames)
Parameters:useTransitionsboolstateNamesstring[]
C#
public override void OnApplyTemplate()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs