Version

AppearanceData Structure Methods

For a list of all members of this type, see AppearanceData members.

Public Methods
 NameDescription
Public MethodCloneReturns a copy of the structure.  
Public Methodstatic (Shared in Visual Basic)ContentAlignmentFromHVAlignStatic method for converting an VAlign and an HAlign value into a ContentAlignment enumerator  
Public Methodstatic (Shared in Visual Basic)ConvertFromHatchStyleConverts from a System.Drawing.Drawing2D.HatchStyle enumeration and returns a BackHatchStyle value that is equivalent.  
Public Methodstatic (Shared in Visual Basic)ConvertToHatchStyleConverts from a BackHatchStyle enumeration and returns a System.Drawing.Drawing2D.HatchStyle value that is equivalent.  
Public MethodCreateFontOverloaded. This creates a font based on the FontData settings and the passed in base font.  
Public MethodGetBackColorReturns the back color to use for an element  
Public MethodGetBackColor2Returns the second back color to use for an element when doing a gradient fill.  
Public MethodGetForeColorReturns the color to use for an element's text  
Public MethodGetImageReturns 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 MethodGetImageBackgroundReturns the image from the appearance that should be used to render the element based on the specified enabled state.  
Public MethodHasPropertyBeenSetReturns true if the requested property has been set  
Public MethodHavePropertiesBeenSetReturns true if any of the requested property have been set  
Public Methodstatic (Shared in Visual Basic)HVAlignFromContentAlignmentStatic method for converting a ContentAlignment alignment enumerator value into a VAlign and an HAlign value  
Public MethodIsSameFontOverloaded. Checks if the font we would create is the same as would be created by the passed in AppearanceData.  
Public Methodstatic (Shared in Visual Basic)MergeMerges/copies properties from the source to the target structure based on the properties requested  
Public Methodstatic (Shared in Visual Basic)MergeExcludeMerges/copies properties from the source to the target structure based on the properties requested  
Public Methodstatic (Shared in Visual Basic)MergeIncludeMerges/copies properties from the source to the target structure based on the properties requested  
Public MethodResetFontDataResets the property back to its default value  
See Also