Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectionCellFormatModule - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SelectionCellFormatModule

    Represents the selection cell format module in DocumentEditor.

    Inheritance
    System.Object
    SelectionCellFormatModule
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SelectionCellFormatModule : Object

    Constructors

    SelectionCellFormatModule(BaseComponent)

    Default constructor for SelectionCellFormat.

    Declaration
    public SelectionCellFormatModule(BaseComponent baseComponent)
    Parameters
    Type Name Description
    BaseComponent baseComponent

    An DocumentEdiorComponent instance.

    Properties

    DocumentEditorComponent

    DocumentEdiorComponent instance.

    Declaration
    protected BaseComponent DocumentEditorComponent { get; set; }
    Property Value
    Type Description
    BaseComponent

    Methods

    GetBackground()

    Gets or Sets the background for selected cells.

    Declaration
    public Task<string> GetBackground()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    Returns an asynchronous operation of string type.

    GetBottomMargin()

    Gets the bottom margin for selected cells.

    Declaration
    public Task<int> GetBottomMargin()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    Returns an asynchronous operation of int type.

    GetLeftMargin()

    Gets the left margin for selected cells.

    Declaration
    public Task<int> GetLeftMargin()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    Returns an asynchronous operation.

    GetPreferredWidth()

    Gets or Sets the preferred width for selected cells.

    Declaration
    public Task<int> GetPreferredWidth()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    GetPreferredWidthType()

    Gets or Sets the preferred width type for selected cells.

    Declaration
    public Task<WidthType> GetPreferredWidthType()
    Returns
    Type Description
    System.Threading.Tasks.Task<WidthType>

    GetRightMargin()

    Gets or Sets the right margin for selected cells.

    Declaration
    public Task<int> GetRightMargin()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    GetTopMargin()

    Gets or Sets the top margin for selected cells.

    Declaration
    public Task<int> GetTopMargin()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    GetVerticalAlignment()

    Gets or sets the vertical alignment of the selected cells.

    Declaration
    public Task<CellVerticalAlignment> GetVerticalAlignment()
    Returns
    Type Description
    System.Threading.Tasks.Task<CellVerticalAlignment>

    SetBackground(String)

    Gets or Sets the background for selected cells.

    Declaration
    public void SetBackground(string value)
    Parameters
    Type Name Description
    System.String value

    SetBottomMargin(Int32)

    Sets the bottom margin for selected cells.

    Declaration
    public void SetBottomMargin(int value)
    Parameters
    Type Name Description
    System.Int32 value

    SetLeftMargin(Int32)

    Sets the left margin for selected cells.

    Declaration
    public void SetLeftMargin(int value)
    Parameters
    Type Name Description
    System.Int32 value

    SetPreferredWidth(Int32)

    Gets or Sets the preferred width for selected cells.

    Declaration
    public void SetPreferredWidth(int value)
    Parameters
    Type Name Description
    System.Int32 value

    SetPreferredWidthType(WidthType)

    Gets or Sets the preferred width type for selected cells.

    Declaration
    public void SetPreferredWidthType(WidthType value)
    Parameters
    Type Name Description
    WidthType value

    SetRightMargin(Int32)

    Gets or Sets the right margin for selected cells.

    Declaration
    public void SetRightMargin(int value)
    Parameters
    Type Name Description
    System.Int32 value

    SetTopMargin(Int32)

    Gets or Sets the top margin for selected cells.

    Declaration
    public void SetTopMargin(int value)
    Parameters
    Type Name Description
    System.Int32 value

    SetVerticalAlignment(CellVerticalAlignment)

    Gets or sets the vertical alignment of the selected cells.

    Declaration
    public void SetVerticalAlignment(CellVerticalAlignment value)
    Parameters
    Type Name Description
    CellVerticalAlignment value
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved