Class ComponentFoundation
The base class for all Material.Blazor components.
Inheritance
ComponentFoundation
Assembly: Material.Blazor.dll
Syntax
public abstract class ComponentFoundation : ComponentBase, IDisposable
Properties
|
Improve this Doc
View Source
ActiveConditionalClasses
Declaration
protected string ActiveConditionalClasses { get; }
Property Value
|
Improve this Doc
View Source
BatchingJsRuntime
Declaration
protected IBatchingJSRuntime BatchingJsRuntime { get; set; }
Property Value
|
Improve this Doc
View Source
BatchingWrapper
Declaration
protected MBBatchingWrapper BatchingWrapper { get; set; }
Property Value
|
Improve this Doc
View Source
CascadingDefaults
Declaration
protected MBCascadingDefaults CascadingDefaults { get; set; }
Property Value
|
Improve this Doc
View Source
class
Additional CSS classes for the component.
Declaration
public string class { get; set; }
Property Value
|
Improve this Doc
View Source
Disabled
Indicates whether the component is disabled.
Declaration
public bool? Disabled { get; set; }
Property Value
|
Improve this Doc
View Source
id
The HTML id attribute is used to specify a unique id for an HTML element.
You cannot have more than one element with the same id in an HTML document.
Declaration
public string id { get; set; }
Property Value
|
Improve this Doc
View Source
style
Additional CSS style for the component.
Declaration
public string style { get; set; }
Property Value
|
Improve this Doc
View Source
A markup capable tooltip.
Declaration
public string Tooltip { get; set; }
Property Value
|
Improve this Doc
View Source
UnmatchedAttributes
Gets or sets a collection of additional attributes that will be applied to the created element.
Declaration
public IReadOnlyDictionary<string, object> UnmatchedAttributes { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
|
|
Improve this Doc
View Source
OnAfterRender(Boolean)
Declaration
protected sealed override void OnAfterRender(bool firstRender)
Parameters
Type |
Name |
Description |
Boolean |
firstRender |
|
|
Improve this Doc
View Source
OnAfterRenderAsync(Boolean)
Material.Blazor components generally should not override this because it handles the case where components need
to be adjusted when inside an MBDialog
or MBCard
.
Declaration
protected override async Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
Boolean |
firstRender |
|
Returns
|
Improve this Doc
View Source
OnInitialized()
Material.Blazor components use only.
Declaration
protected sealed override void OnInitialized()
|
Improve this Doc
View Source
Declaration
protected sealed override void OnParametersSet()
|
Improve this Doc
View Source
When overriding this, call await base.OnParametersSetAsync();
before any user code unless there is a very good reason not to.
Declaration
protected override async Task OnParametersSetAsync()
Returns
Implements