Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetElementStyle() As ElementStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementWindowless Dim value As ElementStyle value = instance.GetElementStyle() |
C# | |
---|---|
public virtual ElementStyle GetElementStyle() |
Return Value
ElementStyle object containing the style for the elementUse this method to return an ElementStyle object that contains the settings for the element. The ElementStyle object provides settings for appearance, including colors, alignment, and margins.
For more information, see the ElementStyle class.
To specify the ElementStyle object for an element, use the SetElementStyle method.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2