Class SelectionCellFormatModule
Represents the selection cell format module in DocumentEditor.
Inheritance
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class SelectionCellFormatModule : Object
Constructors
SelectionCellFormatModule(SfDocumentEditor)
Initializes a new instance of the SelectionCellFormatModule class. Default constructor for SelectionCellFormat.
Declaration
public SelectionCellFormatModule(SfDocumentEditor baseComponent)
Parameters
Type | Name | Description |
---|---|---|
SfDocumentEditor | baseComponent | An DocumentEdiorComponent instance. |
Properties
DocumentEditor
DocumentEdiorComponent instance.
Declaration
protected SfDocumentEditor DocumentEditor { get; set; }
Property Value
Type |
---|
SfDocumentEditor |
Methods
GetBackgroundAsync()
Gets or Sets the background for selected cells.
Declaration
public Task<string> GetBackgroundAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | Returns an asynchronous operation of string type. |
GetBottomMarginAsync()
Gets the bottom margin for selected cells.
Declaration
public Task<int> GetBottomMarginAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | Returns an asynchronous operation of int type. |
GetLeftMarginAsync()
Gets the left margin for selected cells.
Declaration
public Task<int> GetLeftMarginAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | Returns an asynchronous operation. |
GetPreferredWidthAsync()
Gets or Sets the preferred width for selected cells.
Declaration
public Task<int> GetPreferredWidthAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetPreferredWidthTypeAsync()
Gets or Sets the preferred width type for selected cells.
Declaration
public Task<WidthType> GetPreferredWidthTypeAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<WidthType> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetRightMarginAsync()
Gets or Sets the right margin for selected cells.
Declaration
public Task<int> GetRightMarginAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetTopMarginAsync()
Gets or Sets the top margin for selected cells.
Declaration
public Task<int> GetTopMarginAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetVerticalAlignmentAsync()
Gets or sets the vertical alignment of the selected cells.
Declaration
public Task<CellVerticalAlignment> GetVerticalAlignmentAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CellVerticalAlignment> | A System.Threading.Tasks.Task representing the asynchronous operation. |
SetBackgroundAsync(String)
Gets or Sets the background for selected cells.
Declaration
public void SetBackgroundAsync(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Specifies the background color. |
SetBottomMarginAsync(Int32)
Sets the bottom margin for selected cells.
Declaration
public void SetBottomMarginAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the bottom margin. |
SetLeftMarginAsync(Int32)
Sets the left margin for selected cells.
Declaration
public void SetLeftMarginAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the left margin. |
SetPreferredWidthAsync(Int32)
Gets or Sets the preferred width for selected cells.
Declaration
public void SetPreferredWidthAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the prefeered width. |
SetPreferredWidthTypeAsync(WidthType)
Gets or Sets the preferred width type for selected cells.
Declaration
public void SetPreferredWidthTypeAsync(WidthType value)
Parameters
Type | Name | Description |
---|---|---|
WidthType | value | Specifies the prefeered width type. |
SetRightMarginAsync(Int32)
Gets or Sets the right margin for selected cells.
Declaration
public void SetRightMarginAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the right margin. |
SetTopMarginAsync(Int32)
Gets or Sets the top margin for selected cells.
Declaration
public void SetTopMarginAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the top margin. |
SetVerticalAlignmentAsync(CellVerticalAlignment)
Gets or sets the vertical alignment of the selected cells.
Declaration
public void SetVerticalAlignmentAsync(CellVerticalAlignment value)
Parameters
Type | Name | Description |
---|---|---|
CellVerticalAlignment | value | Specifies the vertical alignment. |