Click or drag to resize
RadColorSelector Class
ColorSelector enables you to use a group of RadcolorPaletteView objects together. Basically it consists of 3 independent palette views and has SelectedColor property.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadColorSelector : ContentControl, 
	IThemable

The RadColorSelector type exposes the following members.

Constructors
  NameDescription
Public methodRadColorSelector
Initializes a new instance of the RadColorSelector class.
Top
Methods
  NameDescription
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnItemClicked
Invoked when a PaletteView is clicked.
Protected methodOnSelectedColorChanged
Called when color selection happens..
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAdditionalContentProperty
Identifies the AdditionalContent dependency property.
Public fieldStatic memberAdditionalContentTemplateProperty
Identifies the AdditionalContentTemplate dependency property.
Public fieldStatic memberAutomaticColorProperty
Identifies the AutomaticColor dependency property.
Public fieldStatic memberColorPropertyPathProperty
Identifies the ColorPropertyPath dependency property.
Public fieldStatic memberCommandParameterProperty
Identifies the CommandParameter dependency property.
Public fieldStatic memberCommandProperty
Identifies the Command dependency property.
Public fieldStatic memberCommandTargetProperty
Identifies the CommandTarget dependency property.
Public fieldStatic memberHeaderPaletteItemsSourceProperty
Identifies the HeaderPaletteItemsSource dependency property.
Public fieldStatic memberHeaderPaletteProperty
Identifies the HeaderPalette dependency property.
Public fieldStatic memberHeaderPaletteVisibilityProperty
Identifies the HeaderPaletteVisibility dependency property.
Public fieldStatic memberIsRecentColorsActiveProperty
Identifies the IsRecentColorsActive dependency property.
Public fieldStatic memberMainPaletteColumnsCountProperty
Identifies the PaletteColumnsCount dependency property.
Public fieldStatic memberMainPaletteHeaderTextProperty
Identifies the MainPalette dependency property.
Public fieldStatic memberMainPaletteItemsSourceProperty
Identifies the MainPaletteItemsSource dependency property.
Public fieldStatic memberMainPaletteItemsStyleProperty
Identifies the StandardPaletteItemsSource dependency property.
Public fieldStatic memberMainPaletteOrientationProperty
Identifies the PaletteOrientation dependency property.
Public fieldStatic memberMainPaletteProperty
Identifies the MainPalette dependency property.
Public fieldStatic memberNoColorTextProperty
Identifies the NoColor dependency property.
Public fieldStatic memberNoColorVisibilityProperty
Identifies the NoColorVisibility dependency property.
Public fieldStatic memberPaletteItemsTemplateProperty
Identifies the PaletteItemsTemplate property.
Public fieldStatic memberRecentColorsHeaderTextProperty
Registers the RecentColorsHeaderText dependency property.
Public fieldStatic memberRecentColorsItemsSourceProperty
Identifies the RecentColorsItemsSource dependency property.
Public fieldStatic memberRecentColorsVisibilityProperty Obsolete.
Identifies the RecentColorsVisibility dependency property.
Public fieldStatic memberSelectedColorProperty
Identifies the SelectedColor dependency property.
Public fieldStatic memberSelectedItemProperty
Identifies the ColorPropertyPath dependency property.
Public fieldStatic memberStandardPaletteHeaderTextProperty
Identifies the StandardPalette dependency property.
Public fieldStatic memberStandardPaletteItemsSourceProperty
Identifies the StandardPaletteItemsSource dependency property.
Public fieldStatic memberStandardPaletteProperty
Identifies the StandardPalette dependency property.
Public fieldStatic memberStandardPaletteVisibilityProperty
Identifies the StandardPaletteVisibility dependency property.
Top
Properties
  NameDescription
Public propertyAdditionalContent
Gets or sets the additional content placed under the RadColorSelector.
Public propertyAdditionalContentTemplate
Gets or sets the AdditionalContentTemplate.
Public propertyAutomaticColor
Gets or sets the automatic color.
Public propertyColorPropertyPath
Gets or sets the ColorPropertyPath property.
Public propertyCommand
Gets or sets the command that will be executed when the command source is invoked.
Public propertyCommandParameter
Represents a user defined data value that can be passed to the command when it is executed.
Public propertyCommandTarget
The object that the command is being executed on.
Public propertyHeaderPalette
Gets or sets the header palette. This is a dependency property.
Public propertyHeaderPaletteItemsSource
Gets or sets the header palette items source. This is a dependency property.
Public propertyHeaderPaletteVisibility
Gets or sets a value indicating whether the HeaderPalette is visible or not. This is a dependency property.
Public propertyIsRecentColorsActive
Gets or sets the IsRecentColorsActive property.
Public propertyMainPalette
Gets or sets the main palette source of a RadColorSelector. This is a dependency property.
Public propertyMainPaletteColumnsCount
Gets or sets the palette columns count.
Public propertyMainPaletteHeaderText
Gets or sets the main palette header text. This is a dependency property.
Public propertyMainPaletteItemsSource
Gets or sets the main palette items source. This is a dependency property.
Public propertyMainPaletteItemsStyle
Gets or sets the main palette orientation.
Public propertyMainPaletteOrientation
Gets or sets the palette orientation.
Public propertyNoColorText
Gets or sets the no color text. This is a dependency property.
Public propertyNoColorVisibility
Gets or sets a value indicating whether or not the empty color to be visible. This is a dependency property.
Public propertyPaletteItemsTemplate
Gets or sets the PaletteItemsTemplate.
Public propertyRecentColorsHeaderText
Gets or sets the recent colors header text.
Public propertyRecentColorsItemsSource
Gets or sets the recent colors items source.
Public propertyRecentColorsVisibility Obsolete.
Gets or sets the recent colors visibility.
Public propertySelectedColor
Gets or sets the color of the item that is selected from either of the palettes in the RadColorSelector. This is a dependency property.
Public propertySelectedItem
Gets or sets the SelectedItem.
Public propertyStandardPalette
Gets or sets the standard palette. This is a dependency property.
Public propertyStandardPaletteHeaderText
Gets or sets the standard palette header text. This is a dependency property.
Public propertyStandardPaletteItemsSource
Gets or sets the standard palette items source. This is a dependency property.
Public propertyStandardPaletteVisibility
Gets or sets a value indicating whether the StandardPalette is visible or not.. This is a dependency property.
Top
Events
  NameDescription
Public eventItemClicked
Occurs when RadColorPaletteViewItem is clicked.
Public eventNoColorButtonClicked
Occurs when NoColorButton is clicked.
Public eventSelectedColorChanged
Occurs when the selected color is changed.
Public eventSelectedItemChanged
Occurs when the selected item is changed.
Top
See Also