C# Class Microsoft.Windows.Controls.ColorPicker

Inheritance: System.Windows.Controls.Control
显示文件 Open project: Invenietis/ck-certified Class Usage Examples

Public Properties

Property Type Description
AvailableColorsProperty System.Windows.DependencyProperty
ButtonStyleProperty System.Windows.DependencyProperty
DisplayColorAndNameProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty
RecentColorsProperty System.Windows.DependencyProperty
SelectedColorChangedEvent System.Windows.RoutedEvent
SelectedColorProperty System.Windows.DependencyProperty
SelectedColorTextProperty System.Windows.DependencyProperty
ShowAdvancedButtonProperty System.Windows.DependencyProperty
ShowAvailableColorsProperty System.Windows.DependencyProperty
ShowRecentColorsProperty System.Windows.DependencyProperty
ShowStandardColorsProperty System.Windows.DependencyProperty
StandardColorsProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
CloseColorPicker ( ) : void
ColorPicker ( ) : System
ColorPickerCanvasPopup_Opened ( object sender, EventArgs e ) : void
Color_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
CreateAvailableColors ( ) : ObservableCollection
CreateStandardColors ( ) : ObservableCollection
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnMouseDownOutsideCapturedElement ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnSelectedColorChanged ( Color oldValue, Color newValue ) : void
OnSelectedColorPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdateRecentColors ( ColorItem colorItem ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

Property Details

AvailableColorsProperty public_oe static_oe property

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

ButtonStyleProperty public_oe static_oe property

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

DisplayColorAndNameProperty public_oe static_oe property

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

IsOpenProperty public_oe static_oe property

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

RecentColorsProperty public_oe static_oe property

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

SelectedColorChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedColorChangedEvent
return System.Windows.RoutedEvent

SelectedColorProperty public_oe static_oe property

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

SelectedColorTextProperty public_oe static_oe property

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

ShowAdvancedButtonProperty public_oe static_oe property

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

ShowAvailableColorsProperty public_oe static_oe property

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

ShowRecentColorsProperty public_oe static_oe property

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

ShowStandardColorsProperty public_oe static_oe property

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

StandardColorsProperty public_oe static_oe property

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