Class Calendar
Represents a control that enables a user to select a date by using a visual calendar display.
Inheritance
System.Object
Calendar
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()
Assembly: OpenSilver.dll
Syntax
public class Calendar : INTERNAL_CalendarOrClockBase
Constructors
|
Improve this Doc
View Source
Calendar()
Declaration
Fields
|
Improve this Doc
View Source
BackgroundProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty BackgroundProperty
Field Value
|
Improve this Doc
View Source
BorderBrushProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty BorderBrushProperty
Field Value
|
Improve this Doc
View Source
BorderThicknessProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty BorderThicknessProperty
Field Value
|
Improve this Doc
View Source
DisplayDateProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty DisplayDateProperty
Field Value
|
Improve this Doc
View Source
DisplayModeProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty DisplayModeProperty
Field Value
|
Improve this Doc
View Source
FontFamilyProperty
Declaration
public static readonly DependencyProperty FontFamilyProperty
Field Value
|
Improve this Doc
View Source
FontSizeProperty
Identifies the FontSize dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty FontSizeProperty
Field Value
|
Improve this Doc
View Source
ForegroundProperty
Declaration
public static readonly DependencyProperty ForegroundProperty
Field Value
|
Improve this Doc
View Source
IsTabStopProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty IsTabStopProperty
Field Value
|
Improve this Doc
View Source
PaddingProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty PaddingProperty
Field Value
|
Improve this Doc
View Source
SelectedDateProperty
Declaration
public static readonly DependencyProperty SelectedDateProperty
Field Value
|
Improve this Doc
View Source
SelectionModeProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty SelectionModeProperty
Field Value
|
Improve this Doc
View Source
TemplateProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty TemplateProperty
Field Value
Properties
|
Improve this Doc
View Source
Background
Declaration
[NotImplemented]
public Brush Background { get; set; }
Property Value
|
Improve this Doc
View Source
BlackoutDates
Gets or sets a collection of dates that are marked as not selectable.
Declaration
[NotImplemented]
public CalendarBlackoutDatesCollection BlackoutDates { get; }
Property Value
|
Improve this Doc
View Source
BorderBrush
Declaration
[NotImplemented]
public Brush BorderBrush { get; set; }
Property Value
|
Improve this Doc
View Source
BorderThickness
Declaration
[NotImplemented]
public Thickness BorderThickness { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
[NotImplemented]
public Style CalendarDayButtonStyle { get; set; }
Property Value
|
Improve this Doc
View Source
DisplayDate
Gets or sets the date to display
Declaration
public DateTime DisplayDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
DisplayDateEnd
Gets or sets the last date to be displayed (enabled)
Declaration
public DateTime? DisplayDateEnd { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
DisplayDateStart
Gets or sets the first date to be displayed (enabled)
Declaration
public DateTime? DisplayDateStart { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
DisplayMode
Gets or sets a value indicating whether the calendar is displayed in months, years, or decades.
Declaration
[NotImplemented]
public CalendarMode DisplayMode { get; set; }
Property Value
|
Improve this Doc
View Source
FontFamily
Gets or sets the font used to display text in the control.
Declaration
[NotImplemented]
public FontFamily FontFamily { get; set; }
Property Value
|
Improve this Doc
View Source
FontSize
Declaration
[NotImplemented]
public double FontSize { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Foreground
Gets or sets a brush that describes the foreground color.
Declaration
[NotImplemented]
public Brush Foreground { get; set; }
Property Value
|
Improve this Doc
View Source
IsTabStop
Declaration
[NotImplemented]
public bool IsTabStop { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTodayHighlighted
Gets or sets a value indicating whether the current date is highlighted.
Declaration
public bool IsTodayHighlighted { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Padding
Declaration
[NotImplemented]
public Thickness Padding { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedDate
Gets or sets the currently selected date.
Declaration
public DateTime? SelectedDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
The date currently selected. The default is null.
|
Exceptions
|
Improve this Doc
View Source
SelectedDates
Gets a collection of selected dates.
Declaration
[NotImplemented]
public SelectedDatesCollection SelectedDates { get; }
Property Value
|
Improve this Doc
View Source
SelectionMode
Gets or sets a value that indicates what kind of selections are allowed.
Declaration
[NotImplemented]
public CalendarSelectionMode SelectionMode { get; set; }
Property Value
|
Improve this Doc
View Source
Template
Declaration
[NotImplemented]
public ControlTemplate Template { get; set; }
Property Value
Events
|
Improve this Doc
View Source
DisplayDateChanged
Declaration
[NotImplemented]
public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged
Event Type
|
Improve this Doc
View Source
DisplayModeChanged
Declaration
[NotImplemented]
public event EventHandler<CalendarModeChangedEventArgs> DisplayModeChanged
Event Type
Extension Methods