Skip to main content
Tab

FileManagerToolbarRefreshButton.BeginGroup Property

Gets or sets a value that specifies whether an item separator should be displayed before the toolbar refresh button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public override bool BeginGroup { get; set; }

Property Value

Type Default Description
Boolean true

true, to display a separator before the item; otherwise, false.

Remarks

Use the BeginGroup property to control whether a separator should appear before the current toolbar item.

ASPxFileManager_ToolbarItemSeparator

Concept

Example

In markup:

<dx:ASPxFileManager ID="FileManager" ClientInstanceName="FileManager" runat="server" />
    <SettingsToolbar>
        <Items>
            <dx:FileManagerToolbarRefreshButton BeginGroup="false" />            
            ...
        </Items>
    </SettingsToolbar>
</dx:ASPxFileManager>

In code:

ASPxFileManager fm = new ASPxFileManager();
...
FileManagerToolbarRefreshButton refresh = new FileManagerToolbarRefreshButton();
refresh.BeginGroup = false;

fm.SettingsToolbar.Items.Add(refresh);

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";

    FileManagerToolbarRefreshButton refresh = new FileManagerToolbarRefreshButton();
    refresh.BeginGroup = false;

    settings.SettingsToolbar.Items.Add(refresh);
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also