[]
Represents the Appearance of an object.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Appearance : ICloneable, ISerializable, ISerializeSupport
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class Appearance
Implements ICloneable, ISerializable, ISerializeSupport
Name | Description |
---|---|
Appearance() | Creates a new Appearance object. |
Appearance(Appearance) | Creates an Appearance object based on the specified Appearance object. |
Appearance(SerializationInfo, StreamingContext) | Constructs a new Appearance object from serialization. |
Name | Description |
---|---|
BackColor | Gets or sets the background color of an object. |
EncodeValue | Gets or sets whether the renderer encodes the values from the data model and the user's input using the HtmlEncode method. |
Font | Gets or sets font information for an object. |
ForeColor | Gets or sets the text color of an object. |
HorizontalAlign | Gets or sets the horizontal alignment of an object or text. |
ImeMode | Gets or sets the state of an Input Method Editor (IME) of the cell for the style. |
IsEmpty | Determines whether none of the properties of the Appearance object is set. |
VerticalAlign | Gets or sets the vertical alignment of an object or text. |
Name | Description |
---|---|
Clone() | Creates a new Appearance object that is a copy of the current instance. |
Copy(object) | Copies the properties of the specified Appearance object to the current object. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
GetObjectData(SerializationInfo, StreamingContext) | Populates the SerializationInfo class with information about the appearance settings. |
IsDefined(AppearanceProperty) | Returns whether an appearance property has been set. |
Merge(object) | Merges appearance settings of the specified object with the current object. |
Merge(object, bool) | Merges appearance settings of the specified object with the current object with the option to force a merge if the settings are defined in the current object. |
Reset(AppearanceProperty) | Resets the setting of the specified appearance property to its default value. |
ResetAll() | Resets all the property settings of the Appearance class to their default values. |
Serialize(XmlTextWriter) | Saves the object to XML. |
SetFlag(AppearanceProperty, bool) | Sets a flag to indicate whether a property has been set. |