Blazor

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

    Show / Hide Table of Contents

    Class FileManagerColumn

    Defines the columns settings for the each column in details view of filemanager component.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    FileManagerColumn
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileManagerColumn : SfBaseComponent

    Constructors

    FileManagerColumn()

    Declaration
    public FileManagerColumn()

    Properties

    AllowResizing

    Allows to disables or enables resize option of a particular column.

    Declaration
    public bool AllowResizing { get; set; }
    Property Value
    Type Description
    System.Boolean

    AllowSorting

    Allows to disables or enables sorting option of a particular column. By default all columns are sortable.

    Declaration
    public bool AllowSorting { get; set; }
    Property Value
    Type Description
    System.Boolean

    CustomAttributes

    The CSS styles and attributes of the content cells of a particular column can be customized.

    Declaration
    public Dictionary<string, object> CustomAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    Field

    Defines the field name of column which is mapped with mapping name of DataSource. The bounded columns can be sort, filter and group etc., The Field name must be a valid JavaScript identifier, the first character must be an alphabet and should not contain spaces and special characters.

    Declaration
    public string Field { get; set; }
    Property Value
    Type Description
    System.String

    Format

    It is used to change display value with the given format and does not affect the original data. Gets the format from the user which can be standard or custom

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    HeaderTemplate

    Defines the column template as string or HTML element ID which is used to add customized element in the column header.

    Declaration
    public RenderFragment<object> HeaderTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    HeaderText

    Defines the header text of column which is used to display in column header. If HeaderText is not defined, then field name value will be assigned to header text.

    Declaration
    public string HeaderText { get; set; }
    Property Value
    Type Description
    System.String

    HeaderTextAlign

    Define the alignment of column header which is used to align the text of column header.

    Declaration
    public TextAlign HeaderTextAlign { get; set; }
    Property Value
    Type Description
    TextAlign

    HideAtMedia

    Column visibility can change based on Media Queries. hideAtMedia accepts only valid Media Queries.

    Declaration
    public string HideAtMedia { get; set; }
    Property Value
    Type Description
    System.String

    MaxWidth

    Defines the maximum width of the column in pixel or percentage, which will restrict resizing beyond this pixel or percentage.

    Declaration
    public string MaxWidth { get; set; }
    Property Value
    Type Description
    System.String

    MinWidth

    Defines the minimum width of the column in pixels or percentage.

    Declaration
    public string MinWidth { get; set; }
    Property Value
    Type Description
    System.String

    Template

    Defines the column template that renders customized element in each cell of the column.

    Declaration
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    TextAlign

    Defines the alignment of the column in both header and content cells.

    Declaration
    public TextAlign TextAlign { get; set; }
    Property Value
    Type Description
    TextAlign

    Type

    Defines the data type of the column.

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    System.String

    Width

    Defines the width of the column in pixels or percentage.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved