Returns the image from the appearance that should be used to render the element based on the specified enabled state.
'Declaration
Public MustOverride Function GetImageBackground( _
ByVal As Boolean _
) As Image
public abstract Image GetImageBackground(
bool
)
Parameters
- enabled
- Enabled state to evaluate
Return Value
If enabled is false and the
ImageBackgroundDisabled is specified, then that is returned, otherwise the value of the
ImageBackground is returned.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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