[]
        
(Showing Draft Content)

C1.Blazor.DateTimeEditors.C1DateTimeBase-1

C1DateTimeBase<TTimeValue> Class

Date and Time input base class

Namespace: C1.Blazor.DateTimeEditors
Assembly: C1.Blazor.DateTimeEditors.dll
Syntax
public abstract class C1DateTimeBase<TTimeValue> : C1DropDown, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Type Parameters
Name Description
TTimeValue

Constructors

Name Description
C1DateTimeBase()

Fields

Name Description
AdjacentDayStyleProperty

Contains calendar adjacent day styles value.

CalendarOrientationProperty

Contains CalendarOrientation value.

CalendarStyleProperty

Contains the calendar styles value.

DayOfWeekFormatProperty

Contains DayOfWeekFormatProperty value.

DayOfWeekStyleProperty

Contains calendar day of week styles value.

DayStyleProperty

Contains calendar day styles value.

FormatProperty

Contains the date format value with default is empty

HeaderMonthFormatProperty

Contains HeaderMonthFormatProperty value.

HeaderStyleProperty

Contains calendar header styles value.

IsEnabledProperty

Contains is enable state value.

IsReadonlyProperty

Contains IsReadonly value.

MaxDateProperty

Contains the max date value.

MinDateProperty

Contains the min date value.

MonthCountProperty

Contains MonthCount value.

PlaceHolderProperty

Contains place holder value with default value is empty.

SelectedDateStyleProperty

Contains calendar selected date styles value.

ShowAdjacentDayProperty

Contains ShowAdjacentDay value.

StopOnClickPropagationProperty

Contains the component value.

TodayStyleProperty

Contains calendar today styles value.

ValueProperty

Contains the component value.

Properties

Name Description
AdjacentDayStyle

Custom AdjacentDayStyle

CalendarOrientation

Gets or sets the calendar orientation.

CalendarStyle

Custom calendar style

CollapseViewIconTemplate

Month expanse button content.

DayOfWeekFormat

Get or set the DayOfWeekFormat. Default value is 'dd'

DayOfWeekStyle

Custom DayOfWeekStyle

DayStyle

Custom DayStyle

ExpandViewIconTemplate

Month expanse button content.

Format

Standard date format strings.

HeaderMonthFormat

Get or set the HeaderMonthFormat. Default value is 'MMM'

HeaderStyle

Custom HeaderStyle

IsEnabled

Gets or sets the enabled status.

IsReadOnly

Gets or sets the read-only status.

MaxDate

Maximum of value

MinDate

Minimum of value

MonthCount

The number of month will be displayed.

NextIconTemplate

NextIconTemplate button content

Placeholder

Gets or sets the placeholder displayed when there is no entered text.

PrevIconTemplate

PrevIconTemplate button content.

SelectedDateStyle

Custom SelectedDateStyle

ShowAdjacentDay

Default is true - AdjacentDay will invisible if set false.

StopOnClickPropagation

Stop the onclick event from outside.

TodayIconTemplate

TodayIconTemplate button content.

TodayStyle

Custom TodayStyle

Value

Get or set value.

Methods

Name Description
GetValue(DependencyProperty)

Gets value of DI property.

HandlePropertyChanged<TValue>(C1DateTimeBase<TTimeValue>, TValue, TValue)

Generic function handle the value change.

HandleValuePropertyChanged<TValue>(C1DateTimeBase<TTimeValue>, TValue, TValue)

Generic function handle the value change.

Refresh()

Refresh the control. be overriding by concrete class.

SetValue(DependencyProperty, object)

Sets value to DI property