alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class FolderBrowserCallbackEventArgs

    Provides data for the FolderBrowser component's FolderBrowserCallback event.

    Inheritance
    System.Object
    FolderBrowserCallbackEventArgs
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class FolderBrowserCallbackEventArgs : EventArgs
    Remarks

    The FolderBrowserCallback event occurs when an event within the folder browser dialog triggers a call to the validation callback. Handling this event allows you to implement the functional equivalent of the BrowseCallbackProc application-defined callback function. The FolderBrowserCallbackEventArgs properties provide information specific to the event.

    Constructors

    FolderBrowserCallbackEventArgs(NativeWindow, FolderBrowserMessage, String)

    Initializes a new instance of the FolderBrowserCallbackEventArgs class.

    Declaration
    public FolderBrowserCallbackEventArgs(NativeWindow window, FolderBrowserMessage browseForFolderMessage, string path)
    Parameters
    Type Name Description
    System.Windows.Forms.NativeWindow window

    A NativeWindow value that represents the window handle of the folderbrowser dialog.

    FolderBrowserMessage browseForFolderMessage

    A FolderBrowserMessage value that identifies the event.

    System.String path

    A String value that specifies the valid / invalid folder name.

    Properties

    BrowseCallbackText

    Gets / sets the contextual string depending upon the value of the FolderBrowserCallbackSetState property.

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

    A String value.

    Dismiss

    Indicates whether the dialog is either dismissed or retained depending on this value.

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

    FolderBrowserCallbackSetState

    Gets / sets the folder browser dialog's state.

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

    A FolderBrowserCallbackSetState value.

    FolderBrowserMessage

    Returns a value identifying the event.

    Declaration
    public FolderBrowserMessage FolderBrowserMessage { get; }
    Property Value
    Type Description
    FolderBrowserMessage

    A FolderBrowserMessage value.

    Path

    Returns the valid / invalid folder name.

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

    A String value.

    Window

    Returns the window handle of the browse dialog box.

    Declaration
    public NativeWindow Window { get; }
    Property Value
    Type Description
    System.Windows.Forms.NativeWindow

    A NativeWindow value.

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