Class OfficeComponentItem
OfficeComponentItem
Inheritance
System.Object
OfficeComponentItem
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Quark.CMSAdapters.Core.Office.Data
Assembly: Quark.CMSAdapters.Core.Office.dll
Syntax
public class OfficeComponentItem : INotifyPropertyChanged
Constructors
OfficeComponentItem(String, Int32, OfficeComponentInfo, ImageSource, String)
Initializes a new instance of the OfficeComponentItem class.
Declaration
public OfficeComponentItem(string itemName, int itemIndex, OfficeComponentInfo componentInfo, ImageSource source, string descriptionFormat = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | itemName | Name of the item. |
System.Int32 | itemIndex | Index of the item. |
OfficeComponentInfo | componentInfo | The component information. |
System.Windows.Media.ImageSource | source | The source. |
System.String | descriptionFormat | The description format. |
Properties
ComponentInfo
Gets the m component information.
Declaration
public OfficeComponentInfo ComponentInfo { get; }
Property Value
Type | Description |
---|---|
OfficeComponentInfo | The m component information. |
DescriptionFormat
Gets the description format.
Declaration
public string DescriptionFormat { get; }
Property Value
Type | Description |
---|---|
System.String | The description format. |
ItemIndex
Gets the index of the item.
Declaration
public int ItemIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the item. |
Name
Gets or sets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |
ThumbnailImage
Gets or sets the thumbnail image.
Declaration
public ImageSource ThumbnailImage { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.ImageSource | The thumbnail image. |
Methods
RaisePropertyChangeEvent(String)
Raises the property change event.
Declaration
public void RaisePropertyChangeEvent(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged