Version

Appearance Class Members

The following tables list the members exposed by Appearance.

Public Constructors
 NameDescription
Public ConstructorAppearance ConstructorOverloaded.   
Protected Fields
 NameDescription
Protected FielddataValueThe internal structure that actually holds the property values  
Protected FieldtagValue (Inherited from Infragistics.Shared.SubObjectBase)
Public Properties
 NameDescription
Public PropertyAlphaLevelOverridden. The level (0 to 255) used for alpha blending (0 means default). This value is used when the BackColorAlpha, BorderAlpha, ForegroundAlpha, ImageAlpha, or ImageBackgroundAlpha properties are set to 'UseAlphaLevel'.  
Public PropertyBackColorOverridden. The primary color used to fill the background.  
Public PropertyBackColor2Overridden. The second color used in a gradient fill of the background.  
Public PropertyBackColorAlphaOverridden. Specifies what alpha level (opacity) is applied to the background color.  
Public PropertyBackColorDisabledOverridden. The primary color used to fill the background of disabled elements.  
Public PropertyBackColorDisabled2Overridden. The second color used to gradient fill the background of disabled elements.  
Public PropertyBackGradientAlignmentOverridden. Determines how the BackGradientStyle is aligned with respect to its origin and extent.  
Public PropertyBackGradientStyleOverridden. Specifies if and how a color gradient will be used to fill the background.  
Public PropertyBackHatchStyleOverridden. Specifies if a hatch brush will be used to fill the background.  
Public PropertyBorderAlphaOverridden. An enumeration that specifies what alpha level (opacity) is applied to the borders.  
Public PropertyBorderColorOverridden. The color used to draw 2D borders.  
Public PropertyBorderColor2Overridden. The second color used to draw 2D borders.  
Public PropertyBorderColor3DBaseOverridden. The color used as the base for calculating the shadow and highlight colors when drawing 3D borders.  
Public PropertyCursorOverridden. The mouse cursor.  
Public PropertyDataOverridden. The internal structure that actually holds the property values  
Public PropertyDisposed (Inherited from Infragistics.Shared.DisposableObject)
Public PropertyFontDataOverridden. The font override settings to be used for displaying text.  
Public PropertyForeColorOverridden. The color of text.  
Public PropertyForeColorDisabledOverridden. The color of text for disabled elements.  
Public PropertyForegroundAlphaOverridden. An enumeration that specifies what alpha level (opacity) is applied to text.  
Public PropertyHasFontDataOverridden. Returns true if any of the fontdata properties are not set to their default values  
Public PropertyImageOverridden. The foreground image. Can be either an image or an index into the imagelist's collection  
Public PropertyImageAlphaOverridden. An enumeration that specifies what alpha level (opacity) is applied to the foreground image.  
Public PropertyImageBackgroundOverridden. The background image.  
Public PropertyImageBackgroundAlphaOverridden. An enumeration that specifies what alpha level (opacity) is applied to the background image.  
Public PropertyImageBackgroundDisabledOverridden. Determines the background image for a disabled image.  
Public PropertyImageBackgroundOriginOverridden. The origin of the background image.  
Public PropertyImageBackgroundStretchMarginsOverridden. Determines the margins used when drawing an ImageBackground when ImageBackgroundStyle is set to Stretched.  
Public PropertyImageBackgroundStyleOverridden. The style of the background image.  
Public PropertyImageHAlignOverridden. The alignment of the Image horizontally.  
Public PropertyImageVAlignOverridden. The alignment of the Image vertically.  
Public PropertyKeyThe key of the item in the appearances collection (Inherited from Infragistics.Win.AppearanceBase)
Public PropertyNonDefaultSettingsOverridden. Bit flags that indicate which properties have non-default values.  
Public PropertyStyleLibraryNameOverridden. Returns or sets the name of the library from which the style resource should be obtained.  
Public PropertyStyleResourceNameOverridden. Returns or sets the name of the application styling resource whose appearance information should be included when the MergeData method is invoked.  
Public PropertyTag (Inherited from Infragistics.Shared.SubObjectBase)
Public PropertyTextHAlignOverridden. The alignment of text horizontally.  
Public PropertyTextTrimmingOverridden. Specifies how text will be rendered when there is not enough room to display the entire string.  
Public PropertyTextVAlignOverridden. The alignment of text vertically.  
Public PropertyThemedElementAlphaOverridden. An enumeration that specifies what alpha level (opacity) is applied to a themed element.  
Protected Properties
 NameDescription
Protected PropertyKeyLowercaseInterned (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Protected PropertyPrimaryCollection (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Protected PropertySubObjectPropChangeHandler (Inherited from Infragistics.Shared.SubObjectBase)
Public Methods
 NameDescription
Public MethodCloneOverridden. Returns a clone of the appearance object  
Public Methodstatic (Shared in Visual Basic)CompareCompares two appearances  
Public MethodCreateFontOverloaded. Overridden. This creates a font based on the FontData settings and the passed in base font.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodEqualsIf object is of the same type, compares contents to determine equality. (Inherited from Infragistics.Win.AppearanceBase)
Public MethodGetHashCodeReturns a hash code for the object. (Inherited from Infragistics.Win.AppearanceBase)
Public MethodGetImageOverridden. Returns the image property as an image. If it was set as an index into an imagelist control it will return the image at that index. If the image property was set to an image it will return that image.  
Public MethodGetImageBackgroundOverridden. Returns the image from the appearance that should be used to render the element based on the specified enabled state.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodHasPropertyBeenSetOverridden. Returns true if the requested property has been set  
Public MethodHavePropertiesBeenSetOverridden. Returns true if any of the requested property have been set  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMergeDataOverridden. Merges/copies the non-default appearance property settings from this object into the target AppearanceData structure based on the properties requested.  
Public MethodMergeDataExcludeOverridden. Merges/copies the non-default appearance property settings from this object into the target AppearanceData structure based on the properties requested.  
Public MethodMergeDataIncludeOverridden. Merges/copies the non-default appearance property settings from this object into the target AppearanceData structure based on the properties requested.  
Public MethodNotifyPropChangeOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodResetOverridden. Resets all properties back to their defaults  
Public MethodResetAlphaLevelResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackColorResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackColor2Resets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackColorAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackColorDisabledResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackColorDisabled2Resets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackGradientAlignmentResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackGradientStyleResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBackHatchStyleResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBorderAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBorderColorResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBorderColor2Resets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetBorderColor3DBaseResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetCursorResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetFontDataOverridden. Resets the property back to its default value  
Public MethodResetForeColorResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetForeColorDisabledResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetForegroundAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundDisabledResets the AppearanceBase.ImageBackgroundDisabled property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundOriginResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundStretchMarginsResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageBackgroundStyleResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageHAlignResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetImageVAlignResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetKey (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Public MethodResetStyleLibraryNameResets the AppearanceBase.StyleLibraryName property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetStyleResourceNameResets the AppearanceBase.StyleResourceName property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetTextHAlignResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetTextTrimmingResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetTextVAlignResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodResetThemedElementAlphaResets the property back to its default value (Inherited from Infragistics.Win.AppearanceBase)
Public MethodShouldSerializeOverridden. Returns true if any appearance property is set to a non-default value  
Public MethodShouldSerializeFontDataOverridden. Returns true if the value is not the default  
Public MethodShouldSerializeKey (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Public MethodShouldSerializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodToStringReturns the number of non-default properties.  
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodDeserializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodGetObjectDataInvoked during the serialization of the object.  
Protected MethodInitializeFromInitializes the state of this object from a source object of the same type.  
Protected MethodInitializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnAddedToCollection (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Protected MethodOnDeserializationInvoked after the entire object graph has been deserialized.  
Protected MethodOnDisposeOverridden. Called when and active object is Disposed to notify a derived class when the object has been Disposed. The default implmentation does nothing  
Protected MethodOnObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodOnRemovedFromCollection (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Protected MethodOnSubObjectPropChangedOverridden. Called when a property has changed on a sub object  
Protected MethodResetInternedKey (Inherited from Infragistics.Shared.KeyedSubObjectBase)
Protected MethodResetTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodSerializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodShouldSerializeAlphaLevelReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackColorReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackColor2Returns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackColorAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackColorDisabledReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackColorDisabled2Returns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackGradientAlignmentReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackGradientStyleReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBackHatchStyleReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBorderAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBorderColorReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBorderColor2Returns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeBorderColor3DBaseReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeCursorReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeForeColorReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeForeColorDisabledReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeForegroundAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundDisabledReturns true if the AppearanceBase.ImageBackgroundDisabled is not set to its default value. (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundOriginReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundStretchMarginsReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageBackgroundStyleReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageHAlignReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeImageVAlignReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeStyleLibraryNameReturns true if the AppearanceBase.StyleLibraryName is not set to its default value. (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeStyleResourceNameReturns true if the AppearanceBase.StyleResourceName is not set to its default value. (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeTextHAlignReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeTextTrimmingReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeTextVAlignReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Protected MethodShouldSerializeThemedElementAlphaReturns true if the value is not the default (Inherited from Infragistics.Win.AppearanceBase)
Public Events
 NameDescription
Public EventSubObjectDisposed (Inherited from Infragistics.Shared.SubObjectBase)
Public EventSubObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
See Also