Class ViewHeaderBase
Represents a class which holds view header cell information.
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class ViewHeaderBase : ContentControl, INotifyPropertyChanged
Constructors
ViewHeaderBase()
Initializes a new instance of the ViewHeaderBase class.
Declaration
public ViewHeaderBase()
Fields
IsTodayProperty
Identifies the IsToday dependency property.
Declaration
public static readonly DependencyProperty IsTodayProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for IsToday dependency property. |
Properties
ColumnIndex
Gets or sets the column index.
Declaration
public int ColumnIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
DateText
Gets or sets the month view header text.
Declaration
public string DateText { get; set; }
Property Value
Type |
---|
System.String |
DayText
Gets or sets the month view header text.
Declaration
public string DayText { get; set; }
Property Value
Type |
---|
System.String |
IsEnsured
Gets or sets a value indicating whether ensured.
Declaration
public bool IsEnsured { get; set; }
Property Value
Type |
---|
System.Boolean |
IsToday
Gets or sets a value indicating whether the date is current date or not. This is a bondable property.
Declaration
public bool IsToday { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnCreateAutomationPeer()
Methods to create automation peer for ViewHeaderControl class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | Automation peer. |
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Invoked when an unhandled System.Windows.UIElement.OnMouseDoubleClick routed event reaches an element in its route that is derived from this class.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e | The mouse button event args. |
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 |
---|---|---|
Microsoft.UI.Xaml.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 |
---|---|---|
Microsoft.UI.Xaml.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 |
---|---|---|
Microsoft.UI.Xaml.DragEventArgs | e | The drop event arguments. |
OnTapped(TappedRoutedEventArgs)
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 OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e | The mouse button event arguments. |
Events
PropertyChanged
Occurs when property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |