Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetElementStyle() As ElementStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementControl Dim value As ElementStyle value = instance.GetElementStyle() |
C# | |
---|---|
public virtual ElementStyle GetElementStyle() |
Return Value
ElementStyle object that contains the settings for the elementThe ElementStyle object provides settings for appearance, including colors, alignment, and margins. 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