Version

GetImageBackground Method (Appearance)

Returns the image from the appearance that should be used to render the element based on the specified enabled state.
Syntax
'Declaration
 
Public Overrides Function GetImageBackground( _
   ByVal enabled As Boolean _
) As Image
public override Image GetImageBackground( 
   bool enabled
)

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.
Requirements

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

See Also