.NET Core Support

This section explains how to create a project in .NET Core application.

Create a .NET Core project

Step 1: Open Visual Studio, go to “File > New > Project…“ and you can now see “Create a new project” dialog. Here, select “Windows Forms App (.NET Core)” template and click “Next”.

NETcore showing create the project

Step 2: You will now see “Configure your new project” dialog. Here, fill in the necessary details and click “Create”.

NETcore showing configure the project

Step 3: Finally, Windows Forms (.NET Core) sample project is created.

NETcore application output

Step 4: Before adding your controls into the application, first you need to remove the default template like in the below screenshot.

NETcore showing hide the code

NOTE

If you do not remove the default template, you cannot see your control in the output form.

Step 5: Now, you can add your controls. To do so, follow the immediate section “Adding controls in Windows Forms (.NET Core) application” for more details.

Adding controls in Windows Forms (.NET Core) application

The below section explains how to add your controls in Windows Forms (.NET Core) application.

Through assembly deployment

In “Solution Explorer”, right-click on “Dependencies” and select “Add Reference”.

NETcore showing add reference

Now, “Reference Manager” dialog will be opened. Here click “Browse” and select the needed assemblies from the location mentioned in below note section. On selecting necessary assemblies, click “Add” and then click “Ok”. Now, required assemblies are added in to the project, like in the below screenshot.

NOTE

You can get Syncfusion Windows Forms (.NET Core) controls assemblies from netcoreapp3.0 folder in the following location - C:\Program Files (x86)\Syncfusion\Essential Studio\Windows\x.x.x.x\precompiledassemblies

NETcore showing assembly

Through NuGet Package

Click here to find more details regarding how to install the NuGet packages in Windows Forms application.

Example: Adding ButtonAdv control through code

We are now going to see a demo on how to add “ButtonAdv” control in WinForms .NET Core application.

Step 1: Add the following dependent assembly for the inclusion of “ButtonAdv” control.

  • Syncfusion.Shared.Base

Step 2: Create an instance of the control. Assign necessary properties with proper values and add the control instance to the form.

ButtonAdv button = new ButtonAdv();
button.Text = ButtonAdv;
this.controls.add(button);

Step 3: Run the application.

NETcore showing control output

List of supported controls

The following controls are support in .NET Core 3.0

Controls List

AutoComplete



AutoLabel



BannerTextProvider



BorderLayout



BulletGraph



ButtonEdit



Calculate



Calculator



CardLayout



Carousel



Chart



CheckBoxAdv



ChildFrameBarManager



Clock



ColorPickerButton



ColorPickerUIAdv



ColorUIControl



ComboBoxAdv



ComboBoxAutoComplete



ComboDropDown



CommandBarController



ContextMenuStripEx



CurrencyEdit



CurrencyTextBox



DateTimePickerAdv



Diagram



Digital Gauge



Docking Manager



DomainUpDownExt



DoubleTextBox



EditableList



EditControl



FlowLayout



FolderBrowser



FontComboBox



FontListBox



GradientLabel



GradientPanel



GradientPanelExt



GridAwareTextBox

GridBagLayout



GridControl



GridDataBoundGrid



GridGroupingControl



GridLayout



GridListControl



GridRecordNavigationControl



GroupBar



Grouping



GroupView



HTMLUIControl



HubTile



ImageListAdv

ImageStreamer



IntegerTextBox



LinearGauge



MainFrameBarManager



Maps



MaskedEditBox



MessageBoxAdv



MetroForm



MiniToolBar



MonthCalendarAdv



MultiColumnComboBox



MultiColumnTreeView



MultiSelectionComboBox



NavigationDrawer



NavigationView



NumericUpDownExt



Office2007Form



Office2010Form



PdfViewer



PercentTextBox



PivotChart



PivotGridControl



PopupControlContainer



PopupMenu



PopupMenuManager

ProgressBarAdv



RadialGauge



RadialMenu



RadialSlider



RadioButtonAdv



RangeSlider



RatingControl



Record Navigation Control



RibbonControlAdv



RibbonForm



RibbonPanelMergeContainer



ScheduleControl



ScrollersFrame



SfBarcode



SfButton



SfCalendar



SfDataGrid



SfDateTimeEdit



SfForm



SfNumericTextBox



SfScrollFrame



SfSmithChart



SfTooltip



SfListview



SfComboBox



SkinManager



Sparkline



SpellCheckerAdv



SplashControl



SplashPanel



SplitButton



SplitContainerAdv



SplitterControl



Spreadsheet



StatusBarAdv



StatusBarAdvPanel



StatusBarExt

StatusStripEx

SuperToolTip



TabBarSplitterControl



TabbedGroupedMDIManager



TabbedMDIManager



TabControlAdv



TabSplitterContainer



TextBoxExt



TileLayout



ToggleButton



ToolStripEx



TrackBarEx



TreeMap



TreeNavigator



TreeViewAdv



WizardControl



XPTaskbar



XPTaskPane



XPToolbar