Version

DrawButtonRegion Method

Renders button borders using the specified ImageRegion
Syntax
'Declaration
 
Public Sub DrawButtonRegion( _
   ByVal imageRegion As ImageRegion, _
   ByVal buttonStyle As UIElementButtonStyle, _
   ByVal buttonState As UIElementButtonState, _
   ByVal isDefault As Boolean _
) 
public void DrawButtonRegion( 
   ImageRegion imageRegion,
   UIElementButtonStyle buttonStyle,
   UIElementButtonState buttonState,
   bool isDefault
)

Parameters

imageRegion
ImageRegion object that provides the region from which the borders are rendered
buttonStyle
Button style to render
buttonState
State of the button
isDefault
True if the button is the default button. This will generate an extra border around the button region
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