WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum FolderBrowserStyles

    Show / Hide Table of Contents

    Enum FolderBrowserStyles

    Specifies constants that define the styles for the folder browser dialog.

    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    [Flags]
    public enum FolderBrowserStyles
    Remarks

    The FolderBrowserStyles enumeration specifies the options for the folder browser dialog. For more detailed information, refer to the Platform SDK documentation on the Win32 BROWSEINFO structure.

    This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

    Fields

    Name Description
    AllowUrls

    Displays URLs. The NewDialogStyle and BrowseForEverything values must be set along with this flag.

    BrowseForComputer

    Displays only computers.

    BrowseForEverything

    Displays files as well as folders.

    BrowseForPrinter

    Displays only printers.

    NewDialogStyle

    Uses the new resizable folder selection dialog.

    RestrictToDomain

    Excludes network folders below the domain level.

    RestrictToFilesystem

    Restricts selection to file system directories.

    RestrictToSubfolders

    Returns only file system ancestors.

    ShowAdministrativeShares

    Displays administrative shares existing on remote systems.

    ShowShares

    Displays shareable resources existing on remote systems.

    ShowTextBox

    Displays a textbox control in the folder browser dialog.

    StatusText

    Includes a status area in the dialog box. The status text can be specified in the FolderBrowserCallback event handler. This style does not apply to the new style dialog.

    UAHint

    Adds a usage hint to the folder dialog. Valid only with the NewDialogStyle flag.

    Validate

    Typing an invalid name in the textbox will trigger the FolderBrowser's FolderBrowserCallback event.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved