[]
Represents a special AppearanceStyleInfo that combines several cell style effects to generate a new CellStyle object.
[TypeConverter(typeof(CombinedStyleInfoTypeConverter))]
public sealed class CombinedStyleInfo : AppearanceStyleInfo, ICanSerializeXml, IComparable, IComparable<StyleInfo>, ICloneable, ISerializable, ISerializeSupport, IDeserializationCallback
<TypeConverter(GetType(CombinedStyleInfoTypeConverter))>
Public NotInheritable Class CombinedStyleInfo
Inherits AppearanceStyleInfo
Implements ICanSerializeXml, IComparable, IComparable(Of StyleInfo), ICloneable, ISerializable, ISerializeSupport, IDeserializationCallback
This class allows you to combine two or more existing AppearanceStyleInfos without having to set properties one by one. You can combine any type of AppearanceStyleInfo including the CombinedStyleInfo itself.
Be careful not to create a circular reference style or there may be unexpected results.
Name | Description |
---|---|
CombinedStyleInfo() | Initializes a new instance of the ConditionalStyleInfo class. |
CombinedStyleInfo(IEnumerable<AppearanceStyleInfo>) | Initializes a new instance of the ConditionalStyleInfo class. |
CombinedStyleInfo(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
Items | Gets a AppearanceStyleInfo collection that indicates which CellStyle object is combined. |
Name | Description |
---|---|
Clone() | Creates a clone of the current object. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
GetActualStyle(DynamicStyleInfoContext) | Gets the actual CellStyle |
GetObjectData(SerializationInfo, StreamingContext) | Gets the object data. |
OnDeserialization(object) | Handles logic after completing deserialization. |
Serialize(XmlTextWriter) | Saves the object to XML. |
ToString() | Returns a string that represents the CombinedStyleInfo. |