Version

WebAgent Class Members

The following tables list the members exposed by WebAgent.

Public Constructors
 NameDescription
Public ConstructorWebAgent ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyAppStylingManager  
Public PropertyCompatibilityModeUsed to maintain compatible rendering for WebSchedule prior to the institution of the Application Styling Framework(tm).  
Public PropertyControlReference to the control represented by this WebAgent object.  
Public PropertyEnableAppStylingResolvedDetermines whether the control represented by this WebAgent supports Application Styling.  
Public PropertyFullStyleSheetPathReturns the current StyleSheetDirectory from the AppStyleManager.  
Public PropertyImageDirectoryOverrideReturns the current ImageDirectory from the AppStyleManager  
Public PropertyIsDesignMode  
Public PropertyStyleInfo  
Public PropertyStyleInfoName  
Public PropertyStyleSetNameResolvedResolved name of the current Application Styling Framework(tm) style set applied to this WebAgent's control.  
Public PropertyStyleSetPathResolvedResolves the style set path for the control. Does not convert it to URL unlike StyleSetPath.  
Public Methods
 NameDescription
Public MethodAddCssLinkAdd css link used by control (designed for WebSchedule controls only)  
Public MethodAddExtraCssBlockAdd extra css to be outputted within css block.  
Public MethodGetStyleBlockGets whole css block for the STYLE object. Note: that method ends up functionaly related to AppStyling. It can be used only if control is absolutely sure that it is the owner of postback and it will handle all css rendering. For example grid while it async postback may call it after WebAgent.HandleAppStylingRender  
Public MethodGetStyleClassStringOverloaded. Composes CSS classes information of the style and returns it.  
Public MethodGetStyleInternalClassStringReturns only the class name that is assigned to the style inside of the repository.  
Public MethodHandleAppStylingInitializeStyles  
Public MethodHandleAppStylingOnInitRegisters the proxy with a control that supports style repository and/or app styling.  
Public MethodHandleAppStylingPreRender  
Public MethodHandleAppStylingRenderCalled by the registered control when its rendering starts. The method lets the style repository know that it's time to render the styles if it was not done before.  
Public MethodHandleDesignRefresh  
Public MethodHandleInitRender  
Public MethodHandlePostRenderPerforms post-render processing necessary when a control supports Application Styling at design-time.  
Public MethodImageDirectoryResolved  
Public MethodInitializeStyleOverloaded. Initializes a style object with option to add it to CssBuilder. It is a wrapper for InitializeStyle(style, localAndSharedStyle, localAndSharedStyle, priority)  
Public MethodInitializeStyleRoleOverloaded. Initializes a style object according to the RoleInfo data that is obtained from the StyleInfoCatalog. The RoleInfo is looked up in the StyleInfoCatalog and passed on to the initialization overload for further handling. That is designed in addition to a similar method with 2 parameters. It should be used when control has multiple styles with same role.  
Public MethodPrioritizeCssLink  
Public MethodRefreshDesignTimeControlCall this method to cause your control to be rerendered at design-time. Any new property settings will be reflected in the updated HTML.  
Public MethodRefreshDesignTimeControlsCall this method to cause all controls to be refreshed at design-time.  
Public MethodRegisterCssLinkFiles  
Public MethodRegisterPageControlRegister PageControl with AppStylingManager.  
Public MethodResolveImageUrl  
See Also