Table of Contents

Class Toast

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
public class Toast : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IToast, IHasText
Inheritance
Toast
Implements
Inherited Members

Constructors

Toast()

public Toast()

Properties

Icon

public string Icon { get; set; }

Property Value

string

Indicator

public AlertType Indicator { get; set; }

Property Value

AlertType

ShowClose

public bool ShowClose { get; set; }

Property Value

bool

Text

[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public string Text { get; set; }

Property Value

string

Title

public string Title { get; set; }

Property Value

string

Methods

AddMessage(AlertType, string, string, string)

public void AddMessage(AlertType indicator, string icon, string title, string text)

Parameters

indicator AlertType
icon string
title string
text string

Clear()

public void Clear()

GetMessages()

public IEnumerable<Tuple<AlertType, string, string, string>> GetMessages()

Returns

IEnumerable<Tuple<AlertType, string, string, string>>

RenderControl(HtmlTextWriter)

public override void RenderControl(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

RenderControlInternal(HtmlTextWriter)

public void RenderControlInternal(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter