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

Provides methods and properties for using StyleGallery.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class StyleGallery : ControlBase, IDisposable

Inheritance: objectControlBaseStyleGallery

Implements: IDisposable

Inherited Members ControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

Initializes a new instance of the StyleGallery class.

C#
public StyleGallery()

Fields

The Dependency property GalleryContentItemStyleProperty.

C#
public static readonly DependencyProperty GalleryContentItemStyleProperty

The Dependency property GalleryHeaderItemStyleProperty.

C#
public static readonly DependencyProperty GalleryHeaderItemStyleProperty

PopupContentWidthProperty

DependencyProperty

The Dependency property PopupContentWidthProperty.

C#
public static readonly DependencyProperty PopupContentWidthProperty

QuickStylesWidthProperty

DependencyProperty

The Dependency property QuickStylesWidthProperty.

C#
public static readonly DependencyProperty QuickStylesWidthProperty

RadSpreadsheetProperty

DependencyProperty

The Dependency property RadSpreadsheetProperty.

C#
public static readonly DependencyProperty RadSpreadsheetProperty

Properties

Gets or sets the style of the gallery content item.

C#
public Style GalleryContentItemStyle { get; set; }
Property Value:

The style of the gallery content item.

Gets or sets the style of the gallery header item.

C#
public Style GalleryHeaderItemStyle { get; set; }
Property Value:

The style of the gallery header item.

Gets or sets the width of the popup content.

C#
public double PopupContentWidth { get; set; }
Property Value:

The width of the popup content.

Gets or sets the width of the quick styles.

C#
public double QuickStylesWidth { get; set; }
Property Value:

The width of the quick styles.

Gets or sets the RadSpreadsheet of the StyleGallery.

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

The RadSpreadsheet of the StyleGallery.

Methods

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Disposes this instance.

C#
protected virtual void Dispose(bool cleanUpManagedResources)
Parameters:cleanUpManagedResourcesbool

The value indicating whether the managed resources should be cleaned.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

C#
public override void OnApplyTemplate()

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.