'Declaration Public Interface IProvideAppStyling
public interface IProvideAppStyling
Infragistics ASP.NET controls implement this interface to interoperate with the Application Styling Framework(tm) (ASF) that provides application developers and graphic designers an easy way of collaborating to bring a consistent appearance to the user interface elements of their Web applications.
This interface features a single defaultable boolean EnableAppStyling property allowing a control to participate in or opt-out of the ASF.
The consistent appearance is defined by a set of cascading style sheets (CSS) files, and graphic images, created by graphic designers. The collection of these files are referred to as a style set. The StyleSetName, StyleSetPath and ImageDirectory properties of this interface enable ASF to locate and resolve these files.
Controls participating in ASF must initialize their Style objects when the framework calls their control back by implementing the InitializeStyles method.
Application styles rendered at design-time must be loaded from the external style sheet (*.css) files, otherwise the control may not appear properly styled within the Integrated Development Environment (IDE). The ParsedStyles property contains these design-time style definitions, and the DesignRefresh method is called by the ASF to indicate when cached style definitions have become invalid and must be reparsed.
The WebAgent class is provided by ASF to simplify many requirements of implementing the IProvideAppStyling interface. Controls implementing this interface should keep an instance of WebAgent internally, and use it to register themselves with ASF, and to store the properties of this interface. Proper use ensures a control will receive appropriate callbacks notifying it when to initialize styles and invalidate cached values.
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