alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FileManagerColumn

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

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    FileManagerColumn
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileManagerColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    FileManagerColumn()

    Declaration
    public FileManagerColumn()

    Properties

    AllowResizing

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

    Declaration
    [Parameter]
    public bool AllowResizing { get; set; }
    Property Value
    Type
    bool

    AllowSorting

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

    Declaration
    [Parameter]
    public bool AllowSorting { get; set; }
    Property Value
    Type
    bool

    CustomAttributes

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

    Declaration
    [Parameter]
    public Dictionary<string, object> CustomAttributes { get; set; }
    Property Value
    Type
    Dictionary<string, 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
    [Parameter]
    public string Field { get; set; }
    Property Value
    Type
    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
    [Parameter]
    public string Format { get; set; }
    Property Value
    Type
    string

    HeaderTemplate

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

    Declaration
    [Parameter]
    public RenderFragment<object> HeaderTemplate { get; set; }
    Property Value
    Type
    RenderFragment<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
    [Parameter]
    public string HeaderText { get; set; }
    Property Value
    Type
    string

    HeaderTextAlign

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

    Declaration
    [Parameter]
    public TextAlign HeaderTextAlign { get; set; }
    Property Value
    Type
    TextAlign

    HideAtMedia

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

    Declaration
    [Parameter]
    public string HideAtMedia { get; set; }
    Property Value
    Type
    string

    MaxWidth

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

    Declaration
    [Parameter]
    public string MaxWidth { get; set; }
    Property Value
    Type
    string

    MinWidth

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

    Declaration
    [Parameter]
    public string MinWidth { get; set; }
    Property Value
    Type
    string

    SortComparer

    Gets or sets the custom sort comparer object to implement own sorting logic.

    Declaration
    [Parameter]
    public IComparer<object> SortComparer { get; set; }
    Property Value
    Type Description
    IComparer<object>

    Name of sort comparer object to be executed. The default value is null.

    Remarks

    Custom sort comparer class should be implemented in the interface IComparer. Custom sort comparer can be used to modify the default sorting logic for details view in File Manager.

    Template

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

    Declaration
    [Parameter]
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type
    RenderFragment<object>

    TextAlign

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

    Declaration
    [Parameter]
    public TextAlign TextAlign { get; set; }
    Property Value
    Type
    TextAlign

    Type

    Defines the data type of the column.

    Declaration
    [Parameter]
    public string Type { get; set; }
    Property Value
    Type
    string

    Width

    Defines the width of the column in pixels or percentage.

    Declaration
    [Parameter]
    public string Width { get; set; }
    Property Value
    Type
    string

    Methods

    Dispose(bool)

    Dispose unmanaged resources in the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Task.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved