Class
RadColorPaletteViewItem

Represents an item in the RadColorPaletteView control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
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

RadColorPaletteViewItem()

Initializes a new instance of the RadColorPaletteViewItem class.

Declaration

cs-api-definition
public RadColorPaletteViewItem()

Fields

ColorProperty

Identifies the Color dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorProperty

Field Value

DependencyProperty

PositionStateProperty

Identifies the PositionState dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PositionStateProperty

Field Value

DependencyProperty

Properties

Color

Gets or sets the color of a particular item.

Declaration

cs-api-definition
public Color Color { get; set; }

Property Value

Color

PositionState

Gets or sets the PositionState.

Declaration

cs-api-definition
public PositionState PositionState { get; set; }

Property Value

PositionState

The PositionState..

Methods

OnCreateAutomationPeer()

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.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadListBoxItem.OnCreateAutomationPeer()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides RadListBoxItem.OnInitialized(EventArgs)

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()