skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadColorPaletteView

RadColorPaletteView represent a selectable set of colors ordered in a palette. It is an items control that consists of RadColorPaletteView items.

Inheritance
System.Object
ItemsControlSelector
ListControl
RadListBox
RadColorPaletteView
Inherited Members
RadListBox.DropVisualProviderProperty
RadListBox.DragDropBehaviorProperty
RadListBox.DragVisualProviderProperty
RadListBox.DataConverterProperty
RadListBox.IsItemSelectable(Object)
RadListBox.OnKeyDown(KeyEventArgs)
RadListBox.HandleKeyboardInput(Key)
RadListBox.OnTextInput(TextCompositionEventArgs)
RadListBox.InitializeTextRetriever()
RadListBox.GetDataItem(UIElement)
RadListBox.UpdateItems(NotifyCollectionChangedAction, IList, IList)
RadListBox.OnSelectionChanged(SelectionChangedEventArgs)
RadListBox.OnItemsChanged(NotifyCollectionChangedEventArgs)
RadListBox.DropVisualProvider
RadListBox.DragDropBehavior
RadListBox.DragVisualProvider
RadListBox.DataConverter
ListControl.CanAutocompleteSelectItemsProperty
ListControl.TextSearchModeProperty
ListControl.CanAutocompleteSelectPartialMatchesProperty
ListControl.TypedTextProperty
ListControl.CommandProperty
ListControl.CommandParameterProperty
ListControl.CommandTargetProperty
ListControl.CanKeyboardNavigationSelectItemsProperty
ListControl.IsScrollIntoViewEnabledProperty
ListControl.ClearContainerForItemOverride(DependencyObject, Object)
ListControl.OnItemsPanelChanged(ItemsPanelTemplate, ItemsPanelTemplate)
ListControl.OnPropertyChanged(DependencyPropertyChangedEventArgs)
ListControl.ClearContainerStates(FrameworkElement)
ListControl.HighlightedIndexChanged(Int32, Key)
ListControl.OnMatchingItemChanged()
ListControl.OnAutocompleteBehaviorTypedTextChanged()
ListControl.IsIndexSelectable(Int32)
ListControl.OnSelectionModeChanged()
ListControl.CanPerformSelection()
ListControl.GetScrollViewerPart()
ListControl.ScrollIntoView(Object)
ListControl.ScrollIntoView(Int32)
ListControl.IScrollingInfo.TransformFromDropTargetToViewPort(Point)
ListControl.IScrollingServiceCore.ScrollVertical(Double)
ListControl.IScrollingServiceCore.ScrollHorizontal(Double)
ListControl.SelectAllCommand
ListControl.CanAutocompleteSelectItems
ListControl.CanAutocompleteSelectPartialMatches
ListControl.TextSearchMode
ListControl.CanKeyboardNavigationSelectItems
ListControl.IsScrollIntoViewEnabled
ListControl.TypedText
ListControl.Command
ListControl.CommandParameter
ListControl.CommandTarget
ListControl.IsItemsHostVisible
ListControl.HighlightedItem
ListControl.KeyboardNavigation
ListControl.AutocompleteBehavior
ListControl.HighlightedIndex
ListControl.IScrollingInfo.ViewportHeight
ListControl.IScrollingInfo.ViewportWidth
ListControl.IScrollingInfo.HorizontalOffset
ListControl.IScrollingInfo.VerticalOffset
ListControl.IScrollingInfo.ExtentHeight
ListControl.IScrollingInfo.ExtentWidth
ListControl.IListControl.Items
ItemsControlSelector.SelectionModeProperty
ItemsControlSelector.IsSynchronizedWithCurrentItemProperty
ItemsControlSelector.SelectedIndexProperty
ItemsControlSelector.SelectedItemProperty
ItemsControlSelector.SelectedValueProperty
ItemsControlSelector.SelectedValuePathProperty
ItemsControlSelector.TextProperty
ItemsControlSelector.TextPathProperty
ItemsControlSelector.EnableSelectionCachingProperty
ItemsControlSelector.SelectionChangedEvent
ItemsControlSelector.ISelectorInteraction.IsItemSelectable(Object)
ItemsControlSelector.ISelectorInteraction.GetItems()
ItemsControlSelector.ISelectorInteraction.MoveCurrentItemInCollectionView(Object)
ItemsControlSelector.ChangeVisualState(Boolean)
ItemsControlSelector.OnIsEnabledChanged(DependencyPropertyChangedEventArgs)
ItemsControlSelector.InitializeValueRetriever()
ItemsControlSelector.InitializeSelectionBehavior()
ItemsControlSelector.GetSelectionBehavior()
ItemsControlSelector.EndInit()
ItemsControlSelector.ISelectorInteraction.IsDefaultCollectionView
ItemsControlSelector.SelectionMode
ItemsControlSelector.IsSynchronizedWithCurrentItem
ItemsControlSelector.SelectedItems
ItemsControlSelector.SelectionHelper
ItemsControlSelector.SelectedIndex
ItemsControlSelector.SelectedItem
ItemsControlSelector.SelectedValue
ItemsControlSelector.SelectedValuePath
ItemsControlSelector.SelectedValueBinding
ItemsControlSelector.TextBinding
ItemsControlSelector.Text
ItemsControlSelector.TextPath
ItemsControlSelector.EnableSelectionCaching
ItemsControlSelector.ItemSearch
ItemsControlSelector.ValueRetriever
ItemsControlSelector.TextRetriever
ItemsControlSelector.SelectionChanged
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll

Syntax

public class RadColorPaletteView : RadListBox, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo
Remarks

You can set the ItemSource or use Palette property in order to set different colors from some of the ColorPresets or custom implementation.

Constructors

RadColorPaletteView()

Declaration
public RadColorPaletteView()

Fields

ColorPropertyPathProperty

Identifies the ColorPropertyPath dependency property.

Declaration
public static readonly DependencyProperty ColorPropertyPathProperty
Field Value
System.Windows.DependencyProperty

PaletteColumnsCountProperty

Identifies the PaletteColumnsCount dependency property.

Declaration
public static readonly DependencyProperty PaletteColumnsCountProperty
Field Value
System.Windows.DependencyProperty

PaletteOrientationProperty

Identifies the PaletteOrientation dependency property.

Declaration
public static readonly DependencyProperty PaletteOrientationProperty
Field Value
System.Windows.DependencyProperty

PaletteProperty

Identifies the Palette dependency property.

Declaration
public static readonly DependencyProperty PaletteProperty
Field Value
System.Windows.DependencyProperty

Properties

ColorPropertyPath

Gets or sets the ColorPropertyPath property.

Declaration
public string ColorPropertyPath { get; set; }
Property Value
System.String

Palette

Gets or sets the palette view items using ColorPreset enum.

Declaration
public ColorPreset Palette { get; set; }
Property Value
ColorPreset

PaletteColumnsCount

Gets or sets the palette columns count.

Declaration
public int PaletteColumnsCount { get; set; }
Property Value
System.Int32

The palette columns count.

PaletteOrientation

Gets or sets the palette orientation.

Declaration
public Orientation PaletteOrientation { get; set; }
Property Value
System.Windows.Controls.Orientation

The palette orientation.

Methods

GenerateItemsSource()

Generates the items source.

Declaration
protected virtual IEnumerable GenerateItemsSource()
Returns
System.Collections.IEnumerable

Returns the office palette generated colors as a collection of colors.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject

Overrides
RadListBox.GetContainerForItemOverride()

IsItemItsOwnContainerOverride(Object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object item

Returns
System.Boolean

Overrides
ListControl.IsItemItsOwnContainerOverride(Object)

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.

Declaration
public override void OnApplyTemplate()
Overrides
RadListBox.OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

Overrides
RadListBox.OnCreateAutomationPeer()

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

Overrides
RadListBox.OnInitialized(EventArgs)

OnItemsSourceChanged(IEnumerable, IEnumerable)

Called when the SelectorControl.ItemsSource" property changes.

Declaration
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
System.Collections.IEnumerable oldValue

Old value of the SelectorControl.ItemsSource" property.

System.Collections.IEnumerable newValue

New value of the SelectorControl.ItemsSource" property.

Overrides
ItemsControlSelector.OnItemsSourceChanged(IEnumerable, IEnumerable)

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the specified element to display the specified item.

Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

Element used to display the specified item.

System.Object item

Specified item.

Overrides
ListControl.PrepareContainerForItemOverride(DependencyObject, Object)

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Extension Methods

ItemsControlSelectorExtensions.ContainerFromItemOrContainer(ItemsControlSelector, Object)
ItemsControlSelectorExtensions.ContainerFromIndex(ItemsControlSelector, Int32)
CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.