Class CalendarDayButtonStyleSelector
Provides a way to apply GlobalCalendarDayButton Styles based on custom logic.
Inheritance
System.Object
CalendarDayButtonStyleSelector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Toolkit.dll
Syntax
public abstract class CalendarDayButtonStyleSelector
Constructors
| Improve this Doc View SourceCalendarDayButtonStyleSelector()
Initializes a new instance of the CalendarDayButtonStyleSelector class.
Declaration
protected CalendarDayButtonStyleSelector()
Methods
| Improve this Doc View SourceSelectStyle(DateTime, GlobalCalendarDayButton)
When overridden in a derived class, returns a GlobalCalendarDayButton Style based on custom logic.
Declaration
public abstract Style SelectStyle(DateTime day, GlobalCalendarDayButton container)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | day | The day to select a Style for. |
GlobalCalendarDayButton | container | The GlobalCalendarDayButton. |
Returns
Type | Description |
---|---|
Style | A Style for the GlobalCalendarDayButton. |