Class INTERNAL_DateTimePickerBase
Inheritance
System.Object
INTERNAL_DateTimePickerBase
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 abstract class INTERNAL_DateTimePickerBase : Control
Constructors
|
Improve this Doc
View Source
INTERNAL_DateTimePickerBase()
Declaration
protected INTERNAL_DateTimePickerBase()
Fields
|
Improve this Doc
View Source
_calendarOrClock
Declaration
protected INTERNAL_CalendarOrClockBase _calendarOrClock
Field Value
|
Improve this Doc
View Source
_defaultText
Declaration
protected string _defaultText
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
protected Button _dropDownButton
Field Value
|
Improve this Doc
View Source
Declaration
Field Value
|
Improve this Doc
View Source
_root
Declaration
protected FrameworkElement _root
Field Value
|
Improve this Doc
View Source
_textBox
Declaration
protected TextBox _textBox
Field Value
|
Improve this Doc
View Source
Declaration
protected const string ElementButton = "Button"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
protected const string ElementPopup = "Popup"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ElementRoot
Declaration
protected const string ElementRoot = "Root"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ElementTextBox
Declaration
protected const string ElementTextBox = "TextBox"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsDropDownOpenProperty
Identifies the dependency property.
Declaration
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
|
Improve this Doc
View Source
TextProperty
Identifies the dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Properties
|
Improve this Doc
View Source
INTERNAL_SelectedDate
Declaration
protected DateTime? INTERNAL_SelectedDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
IsDropDownOpen
Gets or sets a value indicating whether the drop-down is open or closed.
Declaration
public bool IsDropDownOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Text
Gets or sets the text that is displayed by the textbox
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CalendarOrClock_SelectionChanged(Object, SelectionChangedEventArgs)
Declaration
protected void CalendarOrClock_SelectionChanged(object sender, SelectionChangedEventArgs e)
Parameters
|
Improve this Doc
View Source
CloseDropDown()
Declaration
protected void CloseDropDown()
|
Improve this Doc
View Source
Declaration
protected void DropDownButton_Click(object sender, RoutedEventArgs e)
Parameters
|
Improve this Doc
View Source
GenerateCalendarOrClock()
Declaration
protected abstract INTERNAL_CalendarOrClockBase GenerateCalendarOrClock()
Returns
|
Improve this Doc
View Source
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
|
Improve this Doc
View Source
OnEmptyText()
Declaration
protected virtual void OnEmptyText()
|
Improve this Doc
View Source
OnIsDropDownOpenChanged(DependencyObject, DependencyPropertyChangedEventArgs)
IsDropDownOpenProperty property changed handler.
Declaration
protected static void OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Parameters
|
Improve this Doc
View Source
OnSelectionChanged(Nullable<DateTime>)
Declaration
protected abstract void OnSelectionChanged(DateTime? newSelectedDate)
Parameters
Type |
Name |
Description |
System.Nullable<System.DateTime> |
newSelectedDate |
|
|
Improve this Doc
View Source
OnTextChanged()
Declaration
protected virtual void OnTextChanged()
|
Improve this Doc
View Source
OpenDropDown()
Declaration
protected async void OpenDropDown()
|
Improve this Doc
View Source
RefreshTextBox()
Declaration
protected void RefreshTextBox()
|
Improve this Doc
View Source
SetTextFromDate(Nullable<DateTime>)
Declaration
protected abstract string SetTextFromDate(DateTime? newDate)
Parameters
Type |
Name |
Description |
System.Nullable<System.DateTime> |
newDate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SetWaterMarkText()
Declaration
protected virtual void SetWaterMarkText()
|
Improve this Doc
View Source
ToDateTime(String)
Declaration
public static DateTime ToDateTime(string dateTimeAsString)
Parameters
Type |
Name |
Description |
System.String |
dateTimeAsString |
|
Returns
Type |
Description |
System.DateTime |
|
Events
|
Improve this Doc
View Source
SelectedDateChanged
Declaration
public event EventHandler<SelectionChangedEventArgs> SelectedDateChanged
Event Type
Extension Methods