C# Class Microsoft.PowerBI.AspNet.WebForms.UI.WebControls.Embed

Base class for all Power BI embed controls
Inheritance: System.Web.UI.WebControls.WebControl
Afficher le fichier Open project: Microsoft/PowerBI-CSharp

Méthodes protégées

Méthode Description
AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void

CanRender ( ) : bool

Specifies whether this component can render

Embed ( ) : System

Creates a new instance of the embed control

GetAccessToken ( ) : string

Gets the access token for this component

GetEmbedUrl ( ) : string

Gets the embed url for this component

OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the control to the specified HTML writer.

RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

Private Methods

Méthode Description
RegisterScripts ( ) : void

Method Details

AddAttributesToRender() protected méthode

protected AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void

CanRender() protected méthode

Specifies whether this component can render
protected CanRender ( ) : bool
Résultat bool

Embed() protected méthode

Creates a new instance of the embed control
protected Embed ( ) : System
Résultat System

GetAccessToken() protected méthode

Gets the access token for this component
protected GetAccessToken ( ) : string
Résultat string

GetEmbedUrl() protected abstract méthode

Gets the embed url for this component
protected abstract GetEmbedUrl ( ) : string
Résultat string

OnPreRender() protected méthode

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

Render() protected méthode

Renders the control to the specified HTML writer.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
Résultat void

RenderContents() protected méthode

Renders the contents of the control to the specified writer. This method is used primarily by control developers.
protected RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that represents the output stream to render HTML content on the client.
Résultat void