Class RichTextEditorMediaSettings
A class used for configuring the media settings in the Rich Text Editor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorMediaSettings : OwningComponentBase
Constructors
RichTextEditorMediaSettings()
Declaration
public RichTextEditorMediaSettings()
Properties
Height
Gets or sets the default height value of the audio/video when they are inserted into the editor.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property contains height value as string. The default value is |
Remarks
To provide the height value in pixel or percent (%) as string type.
isPropertyChanged
Declaration
protected bool isPropertyChanged { get; set; }
Property Value
Type |
---|
System.Boolean |
LayoutOption
Gets or sets whether the inserted audio/video is displayed as Inline or Break.
Declaration
public DisplayLayoutOptions LayoutOption { get; set; }
Property Value
Type | Description |
---|---|
DisplayLayoutOptions | One of the DisplayLayoutOptions enumeration. The default value is Inline |
Parent
Declaration
protected SfRichTextEditor Parent { get; set; }
Property Value
Type |
---|
SfRichTextEditor |
Path
Gets or sets the Url of audio/video file save location.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value as a Url string to save audio/video file in to server. The default value is |
SaveFormat
Gets or sets the whether the inserted audio/video is inserted as blob or base64 format.
Declaration
public SaveFormat SaveFormat { get; set; }
Property Value
Type | Description |
---|---|
SaveFormat | One of the SaveFormat enumeration. The default value is Blob |
SaveUrl
Gets or sets the Url of save action that will receive the uploaded files and save them in the server.
Declaration
public string SaveUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value as a Url string to save the files in to the server. The default value is |
Width
Gets or sets the width of the audio/video when they are inserted into the editor.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width of the component in pixels or percent (%) as string type. The default value is |
Methods
Dispose(Boolean)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
OnAfterRenderAsync(Boolean)
Method invoked after each time the component has been rendered.
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | firstRender | Set to true if this is the first time OnAfterRender(Boolean) has been invoked. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
ShouldRender()
Declaration
protected override bool ShouldRender()
Returns
Type |
---|
System.Boolean |