Version

DesignRefresh Method (IProvideAppStyling)

Application Styling Framework(tm) calls this method to notify a control it must refresh its appearance at design-time.
Syntax
'Declaration
 
Sub DesignRefresh( _
   ByVal enableAppStyling As Boolean, _
   ByVal styleSetName As String, _
   ByVal styleSetPath As String _
) 
void DesignRefresh( 
   bool enableAppStyling,
   string styleSetName,
   string styleSetPath
)

Parameters

enableAppStyling
Flag signifying whether Application Styling has been turned on or off for this control.
styleSetName
Names the ASF style set defining the control's new appearance.
styleSetPath
Specifies what the path to the CSS style sheet file is in the new style set for controls of this Type.
Remarks

The Application Styling Framework(tm) (ASF) calls this method on controls to notify them of a change in one or more Application Styling properties affecting their appearance. This is an opportunity for the control to invalidate any data it may have cached based on the arguments it receives in this notice.

For example, ASF may call this method to notify a control of a modification having been made to the "web.config" configuration file, or in the style definitions of the Cascading Style Sheet (CSS) file for this control and style set.

This property applies at design-time only.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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