Class
StyleGallery

Provides methods and properties for using StyleGallery.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class StyleGallery : ControlBase, IDisposable

Inheritance: objectControlBaseStyleGallery

Implements: IDisposable

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

Constructors

StyleGallery()

Initializes a new instance of the StyleGallery class.

Declaration

cs-api-definition
public StyleGallery()

Fields

GalleryContentItemStyleProperty

The Dependency property GalleryContentItemStyleProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty GalleryContentItemStyleProperty

Field Value

DependencyProperty

GalleryHeaderItemStyleProperty

The Dependency property GalleryHeaderItemStyleProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty GalleryHeaderItemStyleProperty

Field Value

DependencyProperty

PopupContentWidthProperty

The Dependency property PopupContentWidthProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty PopupContentWidthProperty

Field Value

DependencyProperty

QuickStylesWidthProperty

The Dependency property QuickStylesWidthProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty QuickStylesWidthProperty

Field Value

DependencyProperty

RadSpreadsheetProperty

The Dependency property RadSpreadsheetProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty RadSpreadsheetProperty

Field Value

DependencyProperty

Properties

GalleryContentItemStyle

Gets or sets the style of the gallery content item.

Declaration

cs-api-definition
public Style GalleryContentItemStyle { get; set; }

Property Value

Style

The style of the gallery content item.

GalleryHeaderItemStyle

Gets or sets the style of the gallery header item.

Declaration

cs-api-definition
public Style GalleryHeaderItemStyle { get; set; }

Property Value

Style

The style of the gallery header item.

PopupContentWidth

Gets or sets the width of the popup content.

Declaration

cs-api-definition
public double PopupContentWidth { get; set; }

Property Value

double

The width of the popup content.

QuickStylesWidth

Gets or sets the width of the quick styles.

Declaration

cs-api-definition
public double QuickStylesWidth { get; set; }

Property Value

double

The width of the quick styles.

RadSpreadsheet

Gets or sets the RadSpreadsheet of the StyleGallery.

Declaration

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

Property Value

RadSpreadsheet

The RadSpreadsheet of the StyleGallery.

Methods

Dispose()

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

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Disposes this instance.

Declaration

cs-api-definition
protected virtual void Dispose(bool cleanUpManagedResources)

Parameters

cleanUpManagedResources

bool

The value indicating whether the managed resources should be cleaned.

OnApplyTemplate()

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.

Declaration

cs-api-definition
public override void OnApplyTemplate()

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.