Class InPlaceEditorButtton
Provides properties of the In-place Editor Button.
Namespace: Syncfusion.Blazor.InPlaceEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class InPlaceEditorButtton : OwningComponentBase
Constructors
InPlaceEditorButtton()
Declaration
public InPlaceEditorButtton()
Properties
ChildContent
Gets or sets a value that indicates the child content for the button including HTML element. If the child content is not specified, the button is rendered using the property.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | The template content. The default value is |
Remarks
The child content specified within the tag directive is either a string or HTML Element. The string content is also specified using the property.
Content
Defines the text Content
which is displayed in the Button.
Declaration
public string Content { get; set; }
Property Value
Type |
---|
System.String |
CssClass
Defines the single or multiple CSS classes with space to apply in the Button.
Declaration
public string CssClass { get; set; }
Property Value
Type |
---|
System.String |
Disabled
Specifies a value that indicates whether the component is enabled or disabled.
Declaration
public bool Disabled { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableRtl
Enable or disable rendering component in the right to left (RTL) direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
---|
System.Boolean |
IconCss
Defines the single or multiple CSS classes with space to include an icon in the Button.
Declaration
public string IconCss { get; set; }
Property Value
Type |
---|
System.String |
IconPosition
Place the icon before or after the text content in the Button. The possible values are: Left: Positions the icon on the left side of the text content. Right: Positions the icon on the right side of the text content.
Declaration
public IconPosition IconPosition { get; set; }
Property Value
Type |
---|
IconPosition |
IsPrimary
Specifies a value that determines which button is primary.
Declaration
public bool IsPrimary { get; set; }
Property Value
Type |
---|
System.Boolean |
IsToggle
Determines whether the button can be on or off. When you click on it, the button's state changes from normal to active.
Declaration
public bool IsToggle { get; set; }
Property Value
Type |
---|
System.Boolean |
OnClick
Binds the click event for the In-place Editor buttons.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
Type
Specifies the type of the button. The possible values are: 1.Button 2.Submit 3.Reset
Declaration
public ButtonType Type { get; set; }
Property Value
Type |
---|
ButtonType |