C# Class Microsoft.Phone.Controls.DateTimePickerBase

Inheritance: System.Windows.Controls.Control
Show file Open project: Kinnara/WPToolkit Class Usage Examples

Public Properties

Property Type Description
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
PickerPageUriProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty
ValueStringFormatProperty System.Windows.DependencyProperty
ValueStringProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ClosePickerPage void
DateShouldFlowRTL bool
IsRTLLanguage bool
OnDateButtonClick void
OnFrameNavigated void
OnFrameNavigationStoppedOrFailed void
OnValueChanged void
OnValueChanged void
OnValueStringFormatChanged void
OnValueStringFormatChanged void
OpenPickerPage void
UpdateValueString void

Public Methods

Method Description
DateTimePickerBase ( ) : System

Initializes a new instance of the DateTimePickerBase control.

OnApplyTemplate ( ) : void

Called when the control's Template is expanded.

Protected Methods

Method Description
OnValueChanged ( Microsoft.Phone.Controls.DateTimeValueChangedEventArgs e ) : void

Called when the value changes.

Private Methods

Method Description
ClosePickerPage ( ) : void
DateShouldFlowRTL ( ) : bool

Date should flow from right to left for arabic and persian.

IsRTLLanguage ( ) : bool

Returns true if the current language is RTL.

OnDateButtonClick ( object sender, RoutedEventArgs e ) : void
OnFrameNavigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
OnFrameNavigationStoppedOrFailed ( object sender, EventArgs e ) : void
OnValueChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
OnValueChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnValueStringFormatChanged ( ) : void
OnValueStringFormatChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OpenPickerPage ( ) : void
UpdateValueString ( ) : void

Method Details

DateTimePickerBase() public method

Initializes a new instance of the DateTimePickerBase control.
public DateTimePickerBase ( ) : System
return System

OnApplyTemplate() public method

Called when the control's Template is expanded.
public OnApplyTemplate ( ) : void
return void

OnValueChanged() protected method

Called when the value changes.
protected OnValueChanged ( Microsoft.Phone.Controls.DateTimeValueChangedEventArgs e ) : void
e Microsoft.Phone.Controls.DateTimeValueChangedEventArgs The event data.
return void

Property Details

HeaderProperty public static property

Identifies the Header DependencyProperty.
public static DependencyProperty,System.Windows HeaderProperty
return System.Windows.DependencyProperty

HeaderTemplateProperty public static property

Identifies the HeaderTemplate DependencyProperty.
public static DependencyProperty,System.Windows HeaderTemplateProperty
return System.Windows.DependencyProperty

PickerPageUriProperty public static property

Identifies the PickerPageUri DependencyProperty.
public static DependencyProperty,System.Windows PickerPageUriProperty
return System.Windows.DependencyProperty

ValueProperty public static property

Identifies the Value DependencyProperty.
public static DependencyProperty,System.Windows ValueProperty
return System.Windows.DependencyProperty

ValueStringFormatProperty public static property

Identifies the ValueStringFormat DependencyProperty.
public static DependencyProperty,System.Windows ValueStringFormatProperty
return System.Windows.DependencyProperty

ValueStringProperty public static property

Identifies the ValueString DependencyProperty.
public static DependencyProperty,System.Windows ValueStringProperty
return System.Windows.DependencyProperty