Class
DialogBase

Definition

Namespace:Telerik.Blazor.Components.Dialog

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public abstract class DialogBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDialogBase

Derived Classes: TelerikDialog

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

DialogBase()

Declaration

cs-api-definition
protected DialogBase()

Properties

ThemeColor

Sets the theme color for the dialog title bar, affecting its background and text colors. Accepts theme color names like "primary", "secondary", "success", "info", "warning", "error". Default value is empty string, using the default theme header styling. THEMING: Color names correspond to CSS custom properties in the active Telerik theme. BRANDING: Use to match dialog headers with your application's color scheme. CONTRAST: Ensure adequate color contrast for accessibility when using custom colors. Example: "primary", "secondary", "success", "warning", "error".

Declaration

cs-api-definition
[Parameter]
public string ThemeColor { get; set; }

Property Value

string