Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions WindowsForms/Folder-Browser/FAQ/What-are-FolderBrowser-Flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ control: Tools
documentation: ug
---

# Folder browser flags in Windows Forms FolderBrowser
# Flags in WinForms Folder Browser

This page explains about What are folder browser flags in Windows Forms Folder Browser and more details.
This page explains about What are Flags in WinForms Folder Browser and more details.

## What are folder browser flags in Windows Forms Folder Browser
## What are Flags in WinForms Folder Browser

Flags can be used to set various styles for the FolderBrowser Dialog. Each style has it's own behavior and these styles can be added or removed to get the desired style for the FolderBrowser Dialog.
Flags can be used to set various styles for the WinForms Folder Browser Dialog. Each style has it's own behavior and these styles can be added or removed to get the desired style for the Dialog.

Look at the below given snippet to apply "RestrictToSubfolders" style and to remove the "ShowTextBox" style for the FolderBrowser Dialog.
Look at the below given snippet to apply "RestrictToSubfolders" style and to remove the "ShowTextBox" style for the WinForms Folder Browser Dialog.

{% tabs %}

Expand Down
6 changes: 3 additions & 3 deletions WindowsForms/Folder-Browser/FolderBrowserCallback-Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: Tools
documentation: ug
---

# Browser Callback Event in Windows Forms FolderBrowser
# Browser Callback Event in WinForms Folder Browser

The [FolderBrowserCallback event](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html) occurs when an event within the folder browser dialog triggers a call to the validation callback. The event handler receives an argument of type [FolderBrowserCallbackEventArgs](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowserCallbackEventArgs.html).
The [FolderBrowserCallback event](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html) occurs when an event within the WinForms Folder Browser dialog triggers a call to the validation callback. The event handler receives an argument of type [FolderBrowserCallbackEventArgs](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowserCallbackEventArgs.html).

The following [FolderBrowserCallbackEventArgs](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowserCallbackEventArgs.html) members provide information specific to this event.

Expand All @@ -26,7 +26,7 @@ Specifies whether the dialog is either dismissed or retained depending upon this
<tr>
<td>
FolderBrowserCallbackSetState</td><td>
Gets/sets the Folder Browser dialog's state.</td></tr>
Gets/sets the WinForms Folder Browser dialog's state.</td></tr>
<tr>
<td>
BrowseCallbackText</td><td>
Expand Down
16 changes: 8 additions & 8 deletions WindowsForms/Folder-Browser/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: Tools
documentation: ug
---

# Getting Started with Windows Forms FolderBrowser
# Getting Started with WinForms Folder Browser

## Assembly deployment

Expand All @@ -17,17 +17,17 @@ You can find more details about installing the NuGet package in a Windows Forms

[How to install nuget packages](https://help.syncfusion.com/windowsforms/installation/install-nuget-packages)

## Create a simple application with FolderBrowser
## Create a simple application with WinForms Folder Browser

You can create a Windows Forms application with the FolderBrowser control using the following steps:
You can create a Windows Forms application with the WinForms Folder Browser control using the following steps:

## Create a project

Create a new Windows Forms project in Visual Studio to select the a folder using the FolderBrowser control.
Create a new Windows Forms project in Visual Studio to select the a folder using the WinForms Folder Browser control.

## Add control through designer

The FolderBrowser control can be added to an application by dragging it from the toolbox to a designer view. The **Syncfusion.Shared.Base** assembly reference will be added automatically to the project.
The WinForms Folder Browser control can be added to an application by dragging it from the toolbox to a designer view. The **Syncfusion.Shared.Base** assembly reference will be added automatically to the project.

![wf domain up down control added by designer](Getting-Started_images/wf-folder-browser-control-added-by-designer.png)

Expand All @@ -37,7 +37,7 @@ To add the control manually in C#, follow the given steps:

1. Add the **Syncfusion.Shared.Base** assembly reference to the project.

2. Include the FolderBrowser control namespace **Syncfusion.Windows.Forms;**.
2. Include the WinForms Folder Browser control namespace **Syncfusion.Windows.Forms;**.

{% capture codesnippet1 %}
{% tabs %}
Expand All @@ -51,7 +51,7 @@ Imports Syncfusion.Windows.Forms.Tools
{% endcapture %}
{{ codesnippet1 | OrderList_Indent_Level_1 }}

3. Create a FolderBrowser control instance, and invoke the [FolderBrowser.ShowDialog()](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_ShowDialog().html) method to display the FolderBrowser dialog.
3. Create a WinForms Folder Browser control instance, and invoke the [FolderBrowser.ShowDialog()](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_ShowDialog().html) method to display the dialog.

{% capture codesnippet2 %}
{% tabs %}
Expand Down Expand Up @@ -93,7 +93,7 @@ Me.folderBrowser1.ShowDialog()

## Auto complete file path

The FolderBrowser control supports editing folder location and auto-complete, which displays available folder paths in a drop-down list to choose by setting the folder browser [Style](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_Style) to ShowTextBox.
The WinForms Folder Browser control supports editing folder location and auto-complete, which displays available folder paths in a drop-down list to choose by setting its [Style](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_Style) to ShowTextBox.

{% tabs %}
{% highlight C# %}
Expand Down
8 changes: 4 additions & 4 deletions WindowsForms/Folder-Browser/LocationSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ control: Tools
documentation: ug
---

# Location Settings in Windows Forms FolderBrowser
# Location Settings in WinForms Folder Browser

This section deals with the location settings of the FolderBrowser control.
This section deals with the location settings of the WinForms Folder Browser control.

The FolderBrowser allows the user to provide the location from which browsing should start. It also provides various options from which the root folder for browsing can be selected. The following properties illustrate this.
The WinForms Folder Browser allows the user to provide the location from which browsing should start. It also provides various options from which the root folder for browsing can be selected. The following properties illustrate this.

* [StartLocation](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_StartLocation)
* [CustomStartLocation](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_CustomStartLocation)
Expand Down Expand Up @@ -62,6 +62,6 @@ Me.folderBrowser1.SelectLocation = "C:\\Program Files\\Syncfusion\\Essential Stu
![Location settings](Overview_images/Overview_img410.jpeg)


A Sample which demonstrates the Location Settings of FolderBrowser is available in the below sample installation path.
A Sample which demonstrates the Location Settings of WinForms Folder Browser is available in the below sample installation path.

..My Documents\Syncfusion\EssentialStudio\_Version Number_\Windows\Tools.Windows\Samples\2.0\Editors Package\FolderBrowserDemo
4 changes: 2 additions & 2 deletions WindowsForms/Folder-Browser/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ control: Tools
documentation: ug
---

# About Syncfusion® Windows Forms FolderBrowser Control
# About Syncfusion® WinForms Folder Browser Control

The Essential<sup>®</sup> Tools FolderBrowser component provides a convenient and easy to use object oriented wrapper for the Win32 Shell Folder Browser API. This class completely abstracts the intricacies involved in using the various complex Shell API functions, structures and callback routines required for working with the Windows Folder Selection Dialog and allows Windows Forms developers to work with.NET-centric properties, events and methods.
The Essential<sup>®</sup> Tools WinForms Folder Browser component provides a convenient and easy to use object oriented wrapper for the Win32 Shell Folder Browser API. This class completely abstracts the intricacies involved in using the various complex Shell API functions, structures and callback routines required for working with the Windows Folder Selection Dialog and allows Windows Forms developers to work with.NET-centric properties, events and methods.

![Folder Browser for Windows Forms](Overview_images/Overview_img405.jpeg)
6 changes: 3 additions & 3 deletions WindowsForms/Folder-Browser/StyleSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: Tools
documentation: ug
---

# Style Settings in Windows Forms FolderBrowser
# Style Settings in WinForms Folder Browser

The various options of the [Style](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_Style) property are described below.

Expand All @@ -21,7 +21,7 @@ The various options of the [Style](https://help.syncfusion.com/cr/windowsforms/S
* AllowUrls - Displays URLs. 'NewDialogStyle' and 'BrowseForEverything' must be set along with this flag.
* ShowAdministrativeShares - Displays administrative shares existing on the remote system.
* ShowShares - Displays shareable resources existing on the remote system.
* ShowTextBox - Displays textbox in the FolderBrowser Dialog.
* ShowTextBox - Displays textbox in the WinForms Folder Browser Dialog.
* StatusText - Includes status area in the dialog box. StatusText can be specified in the FolderBrowserCallBack event handler. This style does not apply to 'NewDialogStyle'.
* UAHint - Adds an usage hint to the folder dialog. It can be applied only with 'NewDialogStyle'.
* Validate - Typing invalid name in the textbox triggers FolderBrowserCallBack event.
Expand Down Expand Up @@ -52,6 +52,6 @@ Me.folderBrowser1.Style = Syncfusion.Windows.Forms.FolderBrowserStyles.ShowTextB



A sample which demonstrates the Style Settings of FolderBrowser is available in the below sample installation path.
A sample which demonstrates the Style Settings of WinForms Folder Browser is available in the below sample installation path.

…\_My Documents\Syncfusion\EssentialStudio\Version Number\Windows\Tools.Windows\Samples\Advanced Editor Functions\ActionGroupingDemo_
6 changes: 3 additions & 3 deletions WindowsForms/Folder-Browser/TextSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ control: Tools
documentation: ug
---

# Text Settings in Windows Forms FolderBrowser
# Text Settings in WinForms Folder Browser

The text settings of the FolderBrowser control are described below.
The text settings of the WinForms Folder Browser control are described below.

The text for the FolderBrowser can be set using the [Description](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_Description) property.
The text for the WinForms Folder Browser can be set using the [Description](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.FolderBrowser.html#Syncfusion_Windows_Forms_FolderBrowser_Description) property.

{% tabs %}

Expand Down
20 changes: 10 additions & 10 deletions WindowsForms/calculator/Calculator-Appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ control: Calculator
documentation: ug
---

# Calculator Appearance in Windows Forms Calculator
# Calculator Appearance in WinForms Calculator

This section will walk you through the different appearance settings for the [Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).
This section will walk you through the different appearance settings for the [WinForms Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).

* [Layout Modes](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_LayoutType) - Layout of the components in a [Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).
* [Layout Modes](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_LayoutType) - Layout of the components in a [WinForms Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).
* Background Settings - Background settings for the control.
* Border Styles - Border for the control.
* Button Spacing - Spacing between the Calculator buttons.
* Button Foreground - Foreground settings for the buttons.

## Layout Modes

The [Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html) can be laid out in the following modes.
The [WinForms Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html) can be laid out in the following modes.

* WindowsStandard Mode - Modeled with windows standard layout(Default) and
* Financial Mode - Modeled with windows financial layout.
Expand All @@ -35,15 +35,15 @@ Me.calculatorControl1.LayoutType = Syncfusion.Windows.Forms.Tools.CalculatorLayo

![Financial calculator](Overview_images/Overview_img114.jpeg)

N> We can set different button styles for the Calculator control, using [CalculatorControl.ButtonStyle](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_ButtonStyle) property. Refer_ Themes and Button Styles _topic to know more. [ButtonStyles](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_ButtonStyle) can be applied to both the [layout modes](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_LayoutType).
N> We can set different button styles for the WinForms Calculator control, using [CalculatorControl.ButtonStyle](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_ButtonStyle) property. Refer_ Themes and Button Styles _topic to know more. [ButtonStyles](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_ButtonStyle) can be applied to both the [layout modes](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_LayoutType).

## Background Settings

Background settings for a Calculator control is discussed in this section.
Background settings for a WinForms Calculator control is discussed in this section.

### Background Color

The background of the Calculator can be painted using the below properties.
The background of the WinForms Calculator can be painted using the below properties.

* [BackColor](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.backcolor?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Forms_Control_BackColor)
* [BackgroundColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_BackgroundColor)
Expand All @@ -63,7 +63,7 @@ Me.calculatorControl1.BackgroundColor = New Syncfusion.Drawing.BrushInfo(Syncfus

### Background Image

The background of the Calculator control can be filled with an image using [BackgroundImage](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.backgroundimage?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Forms_Control_BackgroundImage) property.
The background of the WinForms Calculator control can be filled with an image using [BackgroundImage](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.backgroundimage?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Forms_Control_BackgroundImage) property.

{% tabs %}
{% highlight C# %}
Expand All @@ -80,7 +80,7 @@ Me.calculatorControl1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.C

## Border Styles

The [BorderStyle](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_BorderStyle) property used to specify the border style for the [Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).
The [BorderStyle](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_BorderStyle) property used to specify the border style for the [WinForms Calculator control](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html).

{% tabs %}
{% highlight C# %}
Expand All @@ -95,7 +95,7 @@ this.calculatorControl1.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;

## Button Spacing

The default spacing between the Calculator buttons can be modified by enabling [UseVerticalAndHorizontalSpacing](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_UseVerticalAndHorizontalSpacing) property.
The default spacing between the WinForms Calculator buttons can be modified by enabling [UseVerticalAndHorizontalSpacing](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.CalculatorControl.html#Syncfusion_Windows_Forms_Tools_CalculatorControl_UseVerticalAndHorizontalSpacing) property.

{% tabs %}
{% highlight C# %}
Expand Down
Loading