New to Telerik UI for WPFStart a free 30-day trial

Represents an item in the RadColorPaletteView control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class RadColorPaletteViewItem : RadListBoxItem, ISelectorItem

Inheritance: objectListItemRadListBoxItemRadColorPaletteViewItem

Implements: ISelectorItem

Inherited Members RadListBoxItem.OnApplyTemplate()RadListBoxItem.OnIsSelectedChanged()RadListBoxItem.ChangeVisualState(bool)RadListBoxItem.OnMouseEnter(MouseEventArgs)RadListBoxItem.OnMouseLeave(MouseEventArgs)ListItem.IsSelectedPropertyListItem.IsHighlightedPropertyListItem.OnGotFocus(RoutedEventArgs)ListItem.OnLostFocus(RoutedEventArgs)ListItem.OnMouseLeftButtonDown(MouseButtonEventArgs)ListItem.OnMouseLeftButtonUp(MouseButtonEventArgs)ListItem.OnMouseRightButtonDown(MouseButtonEventArgs)ListItem.GoToState(bool, params string[])ListItem.TryFocus()ListItem.OnIsHighlightedChanged()ListItem.ParentSelectorListItem.IsHighlightedListItem.IsSelected...

Constructors

Initializes a new instance of the RadColorPaletteViewItem class.

C#
public RadColorPaletteViewItem()

Fields

ColorProperty

DependencyProperty

Identifies the Color dependency property.

C#
public static readonly DependencyProperty ColorProperty

PositionStateProperty

DependencyProperty

Identifies the PositionState dependency property.

C#
public static readonly DependencyProperty PositionStateProperty

Properties

Color

Color

Gets or sets the color of a particular item.

C#
public Color Color { get; set; }

Gets or sets the PositionState.

C#
public PositionState PositionState { get; set; }
Property Value:

The PositionState..

Methods

Called by the Automation infrastructure when AutomationPeer is requested for this element. The element can return null or the instance of AutomationPeer-derived class, if it supports UI Automation.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Overrides: RadListBoxItem.OnCreateAutomationPeer()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: RadListBoxItem.OnInitialized(EventArgs)

Resets the theme.

C#
public void ResetTheme()