Class IgbToggleDirective
Inheritance
System.Object
IgbToggleDirective
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbToggleDirective : BaseRendererElement, JsonSerializable
Constructors
IgbToggleDirective()
Declaration
public IgbToggleDirective()
Properties
Appended
Declaration
public EventCallback<IgbToggleViewEventArgs> Appended { get; set; }
Property Value
AppendedScript
Declaration
public string AppendedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Closed
Declaration
public EventCallback<IgbToggleViewEventArgs> Closed { get; set; }
Property Value
ClosedScript
Declaration
public string ClosedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Closing
Declaration
public EventCallback<IgbToggleViewCancelableEventArgs> Closing { get; set; }
Property Value
ClosingScript
Declaration
public string ClosingScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Identifier which is registered into IgxNavigationService
let myToggleId = this.toggle.id;
Declaration
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Opened
Declaration
public EventCallback<IgbToggleViewEventArgs> Opened { get; set; }
Property Value
OpenedScript
Declaration
public string OpenedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Opening
Declaration
public EventCallback<IgbToggleViewCancelableEventArgs> Opening { get; set; }
Property Value
OpeningScript
Declaration
public string OpeningScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Open(IgbOverlaySettings)
Declaration
public void Open(IgbOverlaySettings overlaySettings)
Parameters
OpenAsync(IgbOverlaySettings)
Opens the toggle.
this.myToggle.open();
Declaration
public Task OpenAsync(IgbOverlaySettings overlaySettings)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Reposition()
Declaration
RepositionAsync()
Repositions the toggle.
this.myToggle.reposition();
Declaration
public Task RepositionAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SetOffset(Double, Double)
Declaration
public void SetOffset(double deltaX, double deltaY)
Parameters
Type |
Name |
Description |
System.Double |
deltaX |
|
System.Double |
deltaY |
|
SetOffsetAsync(Double, Double)
Declaration
public Task SetOffsetAsync(double deltaX, double deltaY)
Parameters
Type |
Name |
Description |
System.Double |
deltaX |
|
System.Double |
deltaY |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Toggle(IgbOverlaySettings)
Declaration
public void Toggle(IgbOverlaySettings overlaySettings)
Parameters
ToggleAsync(IgbOverlaySettings)
Opens or closes the toggle, depending on its current state.
this.myToggle.toggle();
Declaration
public Task ToggleAsync(IgbOverlaySettings overlaySettings)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements