C# Class Xceed.Wpf.Toolkit.TimePicker

Inheritance: System.Windows.Controls.Control
Datei anzeigen Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
EndTimeProperty System.Windows.DependencyProperty
MaxDropDownHeightProperty System.Windows.DependencyProperty
StartTimeProperty System.Windows.DependencyProperty
TimeIntervalProperty System.Windows.DependencyProperty

Public Methods

Method Description
GenerateTimeListItemsSource ( ) : IEnumerable
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnCoerceEndTime ( System.TimeSpan value ) : System.TimeSpan
OnCoerceStartTime ( System.TimeSpan value ) : System.TimeSpan
OnCoerceTimeInterval ( System.TimeSpan value ) : System.TimeSpan
OnEndTimeChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
OnFormatChanged ( DateTimeFormat oldValue, DateTimeFormat newValue ) : void
OnFormatStringChanged ( string oldValue, string newValue ) : void
OnMaxDropDownHeightChanged ( double oldValue, double newValue ) : void
OnMaximumChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
OnMinimumChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
OnStartTimeChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
OnTimeIntervalChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
OnValueChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
Popup_Opened ( object sender, EventArgs e ) : void

Private Methods

Method Description
CreateTimeItem ( System.TimeSpan time ) : Xceed.Wpf.Toolkit.TimeItem
GetNearestTimeItem ( System.TimeSpan time ) : Xceed.Wpf.Toolkit.TimeItem
InvalidateListBoxItems ( ) : void
OnCoerceEndTime ( DependencyObject o, object value ) : object
OnCoerceStartTime ( DependencyObject o, object value ) : object
OnCoerceTimeInterval ( DependencyObject o, object value ) : object
OnEndTimeChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxDropDownHeightChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnStartTimeChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTimeIntervalChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TimeListBox_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TimeListBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
TimePicker ( ) : System
UpdateListBoxItems ( ) : void
UpdateListBoxSelectedItem ( ) : void
ValidateTime ( System.TimeSpan time ) : void

Method Details

GenerateTimeListItemsSource() public method

public GenerateTimeListItemsSource ( ) : IEnumerable
return IEnumerable

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnCoerceEndTime() protected method

protected OnCoerceEndTime ( System.TimeSpan value ) : System.TimeSpan
value System.TimeSpan
return System.TimeSpan

OnCoerceStartTime() protected method

protected OnCoerceStartTime ( System.TimeSpan value ) : System.TimeSpan
value System.TimeSpan
return System.TimeSpan

OnCoerceTimeInterval() protected method

protected OnCoerceTimeInterval ( System.TimeSpan value ) : System.TimeSpan
value System.TimeSpan
return System.TimeSpan

OnEndTimeChanged() protected method

protected OnEndTimeChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
oldValue System.TimeSpan
newValue System.TimeSpan
return void

OnFormatChanged() protected method

protected OnFormatChanged ( DateTimeFormat oldValue, DateTimeFormat newValue ) : void
oldValue DateTimeFormat
newValue DateTimeFormat
return void

OnFormatStringChanged() protected method

protected OnFormatStringChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
return void

OnMaxDropDownHeightChanged() protected method

protected OnMaxDropDownHeightChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
return void

OnMaximumChanged() protected method

protected OnMaximumChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
oldValue System.DateTime
newValue System.DateTime
return void

OnMinimumChanged() protected method

protected OnMinimumChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
oldValue System.DateTime
newValue System.DateTime
return void

OnStartTimeChanged() protected method

protected OnStartTimeChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
oldValue System.TimeSpan
newValue System.TimeSpan
return void

OnTimeIntervalChanged() protected method

protected OnTimeIntervalChanged ( System.TimeSpan oldValue, System.TimeSpan newValue ) : void
oldValue System.TimeSpan
newValue System.TimeSpan
return void

OnValueChanged() protected method

protected OnValueChanged ( System.DateTime oldValue, System.DateTime newValue ) : void
oldValue System.DateTime
newValue System.DateTime
return void

Popup_Opened() protected method

protected Popup_Opened ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

EndTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows EndTimeProperty
return System.Windows.DependencyProperty

MaxDropDownHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxDropDownHeightProperty
return System.Windows.DependencyProperty

StartTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows StartTimeProperty
return System.Windows.DependencyProperty

TimeIntervalProperty public_oe static_oe property

public static DependencyProperty,System.Windows TimeIntervalProperty
return System.Windows.DependencyProperty