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

Definition

Constructors

C#
public GradientsGallery()

Fields

BaseColorProperty

DependencyProperty

C#
public static readonly DependencyProperty BaseColorProperty

SelectedBrushProperty

DependencyProperty

C#
public static readonly DependencyProperty SelectedBrushProperty

Properties

C#
public Color BaseColor { get; set; }
C#
public Brush SelectedBrush { get; set; }

Methods

Gets a ListBox item from a gallery item.

C#
protected override RadListBoxItem GalleryItemContentToListBoxItem(GradientsGalleryItem scheme)
Parameters:schemeGradientsGalleryItem

The scheme.

Returns:

RadListBoxItem

The ListBox item.

Overrides: PopupGalleryBase<GradientsGalleryItem>.GalleryItemContentToListBoxItem(GradientsGalleryItem)

C#
protected override void InitializeGalleryItems()

Overrides: PopupGalleryBase<GradientsGalleryItem>.InitializeGalleryItems()

Gets a gallery item from a ListBox item.

C#
protected override GradientsGalleryItem ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters:itemRadListBoxItem

The list box item item.

Returns:

GradientsGalleryItem

The gallery item.

Overrides: PopupGalleryBase<GradientsGalleryItem>.ListBoxItemToGalleryItemContent(RadListBoxItem)

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.

C#
protected override void OnSelectionChangedOverride()

Overrides: PopupGalleryBase<GradientsGalleryItem>.OnSelectionChangedOverride()