Version

ResolveOffice2007RibbonButtonAppearance(AppearanceData,AppearancePropFlags,Boolean,Boolean,Boolean,Boolean,Boolean,GradientStyle) Method

Resolves the appearance data of a button for Office2007 Ribbon button style.
Syntax
'Declaration
 
Public Overloads Shared Sub ResolveOffice2007RibbonButtonAppearance( _
   ByRef appearanceData As AppearanceData, _
   ByRef requestedProps As AppearancePropFlags, _
   ByVal enabled As Boolean, _
   ByVal isMouseDown As Boolean, _
   ByVal isStateButton As Boolean, _
   ByVal isStateButtonDown As Boolean, _
   ByVal isMouseOver As Boolean, _
   ByVal activeGradientStyle As GradientStyle _
) 
public static void ResolveOffice2007RibbonButtonAppearance( 
   ref AppearanceData appearanceData,
   ref AppearancePropFlags requestedProps,
   bool enabled,
   bool isMouseDown,
   bool isStateButton,
   bool isStateButtonDown,
   bool isMouseOver,
   GradientStyle activeGradientStyle
)

Parameters

appearanceData
The AppearanceData object into which the appearance object should be merged.
requestedProps
The AppearancePropFlags specifying which properties should be merged.
enabled
Whether the appearance should be resolved as enabled.
isMouseDown
Whether the mouse is down over the control.
isStateButton
Specifies whether the button is a state button.
isStateButtonDown
Specifies whether the buttons is a pressed state button.
isMouseOver
Specifies whether the mouse is over the button area.
activeGradientStyle
The GradientStyle that should be used.
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