Class
StyleGalleryContentItem

Provides methods and properties for using a StyleGalleryContentItem.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class StyleGalleryContentItem : IStyleGalleryItem, INotifyPropertyChanged

Inheritance: objectStyleGalleryContentItem

Implements: INotifyPropertyChangedIStyleGalleryItem

Constructors

StyleGalleryContentItem(CellStyle)

Initializes a new instance of the StyleGalleryContentItem class.

Declaration

cs-api-definition
public StyleGalleryContentItem(CellStyle cellStyle)

Parameters

cellStyle

CellStyle

The cell style.

Properties

CellStyle

Gets the cell style.

Declaration

cs-api-definition
public CellStyle CellStyle { get; }

Property Value

CellStyle

The cell style.

ImageSource

Gets or sets the image source.

Declaration

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

Property Value

ImageSource

The image source.

IsSnapshotInvalidated

Gets a value indicating whether the snapshot is invalidated.

Declaration

cs-api-definition
public bool IsSnapshotInvalidated { get; }

Property Value

bool

Boolean indicating whether the snapshot is invalidated.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()

InvalidateSnapshot()

Invalidates the snapshot.

Declaration

cs-api-definition
public void InvalidateSnapshot()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged