Skip to main content
A newer version of this page is available. .
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.v18.2.dll

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

Declaratively:

<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