ComponentOne ASP.NET MVC Controls
ViewerBaseBuilder<TControl,TBuilder> Class Members
Methods 

C1.Web.Mvc.Viewer.Fluent Namespace : ViewerBaseBuilder<TControl,TBuilder> Class

The following tables list the members exposed by ViewerBaseBuilder<TControl,TBuilder>.

Public Methods
 NameDescription
Public MethodConfigurates C1.Web.Mvc.Control.CssClass. Sets the css class of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.CssStyles. Sets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.CssStyles. Sets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.FilePath. Sets the document path.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.FullScreen. Sets whether viewer is under full screen mode.  
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.Height. Sets the height of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.HtmlAttributes. Sets the HTML attributes. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.HtmlAttributes. Sets the HTML attributes. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Component.Id. Sets the id of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.IsDisabled. Sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.MouseMode. Sets a value indicating the mouse behavior.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientBeforeSendRequest client event. Occurs before every request sent to the server.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientFullScreenChanged client event. Occurs after the full screen mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientGotFocus client event. Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientLostFocus client event. Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientMouseModeChanged client event. Occurs after the mouse mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientPageIndexChanged client event. Occurs after the page index is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientQueryLoadingData client event. Queries the request data sent to the service before loading the document.  
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientRefreshed client event. Occurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientRefreshing client event. Occurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientViewModeChanged client event. Occurs after the view mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientZoomFactorChanged client event. Occurs after the zoom factor is changed.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.RequestHeaders. Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ServiceUrl. Sets the service url. It works as "~/api/" when it is not set.  
Public MethodConfigurates the C1.Web.Mvc.Control.TemplateBindings client event. Sets the collection of the template bindings. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ThresholdWidth. Sets the threshold to switch between mobile and PC template  
Public MethodGet an Html string. (Inherited from C1.Web.Mvc.Fluent.ComponentBuilder<TControl,TBuilder>)
Public MethodTransfer to the template mode. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ViewMode. Sets the view mode.  
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.Width. Sets the width of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ZoomFactor. Sets the zoom factor.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ZoomMode. Sets a value indicating the current zoom mode to show the document pages.  
Top
Extension Methods
 NameDescription
Public Extension MethodRender the html string in template mode.
Top
See Also

Reference

ViewerBaseBuilder<TControl,TBuilder> Class
C1.Web.Mvc.Viewer.Fluent Namespace