Class ViewHeaderBase
Represents a class which holds view header cell information.
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class ViewHeaderBase : ContentControl, INotifyPropertyChanged
Constructors
ViewHeaderBase()
Initializes a new instance of the ViewHeaderBase class.
Declaration
public ViewHeaderBase()
Fields
IsTodayProperty
Using a DependencyProperty as the backing store for IsToday. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsTodayProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
ColumnIndex
Gets or sets the column index.
Declaration
public int ColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DateText
Gets or sets the month view header text.
Declaration
public string DateText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DayText
Gets or sets the month view header text.
Declaration
public string DayText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsEnsured
Gets or sets a value indicating whether ensured.
Declaration
public bool IsEnsured { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsToday
Gets or sets a value indicating whether the date is current date or not. This is a bindable property.
Declaration
public bool IsToday { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
OnCreateAutomationPeer()
Methods to create automation peer for ViewHeaderControl class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | Automation peer. |
OnDragLeave(DragEventArgs)
Invoked when an unhandled System.Windows.DragDrop.DragLeave attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnDragLeave(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DragEventArgs | e | The drop event arguments. |
OnDragOver(DragEventArgs)
Invoked when an unhandled System.Windows.DragDrop.DragOver attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnDragOver(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DragEventArgs | e | The drag event arguments. |
OnDrop(DragEventArgs)
Invoked when an unhandled System.Windows.DragDrop.DragEnter attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnDrop(DragEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DragEventArgs | e | The drop event arguments. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Occurs when the left mouse button is released
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class.
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The mouse button event arguments. |
Events
PropertyChanged
Occurs when property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |