Class IgbDisplayDensityBase
Base class containing all logic required for implementing DisplayDensity.
Inheritance
System.Object
IgbDisplayDensityBase
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbDisplayDensityBase : BaseRendererControl, JsonSerializable
Constructors
IgbDisplayDensityBase()
Declaration
public IgbDisplayDensityBase()
Properties
DensityChanged
Declaration
public EventCallback<IgbDensityChangedEventArgs> DensityChanged { get; set; }
Property Value
DensityChangedScript
Declaration
public string DensityChangedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
DisplayDensity
Returns the theme of the component.
The default theme is comfortable
.
Available options are comfortable
, cosy
, compact
.
let componentTheme = this.component.displayDensity;
Declaration
public DisplayDensity DisplayDensity { get; set; }
Property Value
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
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 |
|
Implements
System.IDisposable