Class PdfViewerTextSearchColorSettings
Represents the text search color settings for the PDF Viewer component.
Inheritance
PdfViewerTextSearchColorSettings
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class PdfViewerTextSearchColorSettings : SfBaseComponent
Examples
Below is an example of how to configure PdfViewerTextSearchColorSettings in a Blazor component:
Constructors
PdfViewerTextSearchColorSettings()
Declaration
public PdfViewerTextSearchColorSettings()
Properties
ChildContent
Declaration
[Parameter]
[JsonIgnore]
public RenderFragment ChildContent { get; set; }
Property Value
SearchColor
Gets or Sets the color of the other occurrence of the text searched string.By default it is '#8b4c12'
Declaration
[Parameter]
[JsonPropertyName("searchColor")]
public string SearchColor { get; set; }
Property Value
SearchHighlightColor
Gets or Sets the color of the current occurrence of the text searched string.By default it is '#fdd835'
Declaration
[Parameter]
[JsonPropertyName("searchHighlightColor")]
public string SearchHighlightColor { get; set; }
Property Value
jsProperty
Declaration
protected string jsProperty { get; set; }
Property Value
mainParent
Declaration
protected SfBaseComponent mainParent { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Declaration
protected override Task OnParametersSetAsync()
Returns