C# Class Xceed.Wpf.Toolkit.ColorPicker

Inheritance: System.Windows.Controls.Control
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
AdvancedButtonHeaderProperty System.Windows.DependencyProperty
AvailableColorsHeaderProperty System.Windows.DependencyProperty
AvailableColorsProperty System.Windows.DependencyProperty
AvailableColorsSortingModeProperty System.Windows.DependencyProperty
ButtonStyleProperty System.Windows.DependencyProperty
ColorModeProperty System.Windows.DependencyProperty
DisplayColorAndNameProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty
RecentColorsHeaderProperty 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
ShowDropDownButtonProperty System.Windows.DependencyProperty
ShowRecentColorsProperty System.Windows.DependencyProperty
ShowStandardColorsProperty System.Windows.DependencyProperty
StandardButtonHeaderProperty System.Windows.DependencyProperty
StandardColorsHeaderProperty System.Windows.DependencyProperty
StandardColorsProperty System.Windows.DependencyProperty
UsingAlphaChannelProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

Private Methods

Method Description
CloseColorPicker ( bool isFocusOnColorPicker ) : void
ColorModeButton_Clicked ( object sender, RoutedEventArgs e ) : void
ColorPicker ( ) : System
Color_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
CreateAvailableColors ( ) : ObservableCollection
CreateStandardColors ( ) : ObservableCollection
FocusOnListBoxItem ( System.Windows.Controls.ListBox listBox ) : void
GetFormatedColorString ( Color colorToFormat ) : string
OnAvailableColorsSortingModeChanged ( ColorSortingMode oldValue, ColorSortingMode newValue ) : void
OnAvailableColorsSortingModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
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
OnUsingAlphaChannelChanged ( ) : void
OnUsingAlphaChannelPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Popup_Opened ( object sender, EventArgs e ) : void
UpdateRecentColors ( ColorItem colorItem ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnMouseUp() protected method

protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

Property Details

AdvancedButtonHeaderProperty public_oe static_oe property

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

AvailableColorsHeaderProperty public_oe static_oe property

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

AvailableColorsProperty public_oe static_oe property

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

AvailableColorsSortingModeProperty public_oe static_oe property

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

ButtonStyleProperty public_oe static_oe property

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

ColorModeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ColorModeProperty
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

RecentColorsHeaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows RecentColorsHeaderProperty
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

ShowDropDownButtonProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowDropDownButtonProperty
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

StandardButtonHeaderProperty public_oe static_oe property

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

StandardColorsHeaderProperty public_oe static_oe property

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

StandardColorsProperty public_oe static_oe property

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

UsingAlphaChannelProperty public_oe static_oe property

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