StyleGallery
Provides methods and properties for using StyleGallery.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class StyleGallery : ControlBase, IDisposable
Inheritance: objectControlBaseStyleGallery
Implements:
Inherited Members
Constructors
Initializes a new instance of the StyleGallery class.
public StyleGallery()
Fields
GalleryContentItemStyleProperty
DependencyProperty
The Dependency property GalleryContentItemStyleProperty.
public static readonly DependencyProperty GalleryContentItemStyleProperty
GalleryHeaderItemStyleProperty
DependencyProperty
The Dependency property GalleryHeaderItemStyleProperty.
public static readonly DependencyProperty GalleryHeaderItemStyleProperty
PopupContentWidthProperty
DependencyProperty
The Dependency property PopupContentWidthProperty.
public static readonly DependencyProperty PopupContentWidthProperty
QuickStylesWidthProperty
DependencyProperty
The Dependency property QuickStylesWidthProperty.
public static readonly DependencyProperty QuickStylesWidthProperty
RadSpreadsheetProperty
DependencyProperty
The Dependency property RadSpreadsheetProperty.
public static readonly DependencyProperty RadSpreadsheetProperty
Properties
Gets or sets the style of the gallery content item.
public Style GalleryContentItemStyle { get; set; }
The style of the gallery content item.
Gets or sets the style of the gallery header item.
public Style GalleryHeaderItemStyle { get; set; }
The style of the gallery header item.
Gets or sets the width of the popup content.
public double PopupContentWidth { get; set; }
The width of the popup content.
Gets or sets the width of the quick styles.
public double QuickStylesWidth { get; set; }
The width of the quick styles.
Gets or sets the RadSpreadsheet of the StyleGallery.
public RadSpreadsheet RadSpreadsheet { get; set; }
The RadSpreadsheet of the StyleGallery.
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements:
Disposes this instance.
protected virtual void Dispose(bool cleanUpManagedResources)
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.
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.