Home
Explore
Tags
Contribute
Home
»
VB.NET
»
WPF IN VB.NET
GroupBox in WPF using VB.NET
Posted in
VB.NET
|
WPF IN VB.NET
on
November 08, 2019
Tags:
GroupBox
,
VB.NET
,
WPF
In this article you will learn how to create a GroupBox in WPF.
3547
A GroupBox is a class that derive from ContentControl that have only a single element in its body, so you have to use Panels to add childrens
in its body. It
allows to group content with a custom header in it and takes the text element which is placed as header of the
GroupBox
. In simpler words role of GroupBox is to represents a container that has both single-element content and a single-element header in form to displayed as a box with rounded corners and a title. GroupBox in WPF is same as it is in windows.
Example of GroupBox
<
Window
x
:
Class
="MainWindow"
xmlns
="
http://schemas.microsoft.com/winfx/2006/xaml/presentation
"
xmlns
:
x
="
http://schemas.microsoft.com/winfx/2006/xaml
"
Title
="MainWindow"
Height
="350"
Width
="525">
<
GroupBox
Header
="Select Students"
Padding
="5"
Margin
="5"
VerticalAlignment
="Top">
<
StackPanel
Height
="219">
<
RadioButton
Margin
="3">
Amit
</
RadioButton
>
<
RadioButton
Margin
="3">
Riya
</
RadioButton
>
<
RadioButton
Margin
="3">
Manish
</
RadioButton
>
<
RadioButton
Margin
="3">
Rahul
</
RadioButton
>
<
Button
Margin
="100">
Ok
</
Button
>
</
StackPanel
>
</
GroupBox
>
</
Window
>
OUTPUT
CONCLUSION
Here you will see about GroupBox in WPF.
Related Articles
WPF Grid Using VB.NET
GroupBox control in WPF using VB.NET
TabControl in WPF using VB.NET
WPF Column Chart in VB.NET
GroupBox control WPF in VB.NET
WPF Image gray scale in VB.NET
WPF Retrieve Image from Database in VB.NET
WPF Save an Image to Database in VB.NET
GroupBox and PictureBox control in ASP.NET Using VB.NET
WPF Controls Overview In VB.NET
Categories
ACTIVE DIRECTOTRY IN VB.NET
ALGORITHMS AND VB.NET
ARRAY IN VB.NET
ASP.NET AJAX IN VB.NET
ASP.NET USING VB.NET
ASSEMBLIES IN VB.NET
COM INTEROP IN VB.NET
CRYPTOGRAPHY IN VB.NET
CRYSTAL REPORTS IN VB.NET
DATABASE & DBA
DEPLOYMENT IN VB.NET
DESIGN & ARCHITECTURE
DIRECTX WITH VB.NET
ENTERPRISE DEVELOPMENT
FILE IN VB.NET
GAMES IN VB.NET
GDI+ IN VB.NET
GENERAL
LINQ WITH VB.NET
MOBILE DEV IN VB.NET
MULTITHREADING IN VB.NET
NETWORKIN WITH VB.NET
OFFICE AND VB.NET
PRINTING IN VB.NET
REMOTING IN VB.NET
REPORTS IN VB.NET
SECURITY IN VB.NET
SILVERLIGHT USING VB.NET
Speech in VB.NET
STRING IN VB.NET
TABLET PC
VB.NET ADO.NET
VB.NET ARTICLE
VB.NET EXCEPTION HANDLING
VB.NET FAQ
VB.NET HOW DO I
VB.NET LANGUAGE
VB.NET TUTORIALS
VB.NET WINDOWS SERVICES
VBA
VISUAL BASIC 10
VISUAL BASIC LANGUAGE
WCF WITH VB.NET
WEB CONTROL IN VB.NET
WEB DEV IN VB.NET
WEB FORM WITH VB.NET
WEB SERVICES IN VB.NET
WINDOWS CONTROLS
WINDOWS FORMS IN VB.NET
WORKFLOW IN VB.NET
WPF IN VB.NET
XAML IN VB.NET
XML IN VB.NET
More Articles
HorizontalAlignment and VerticalAlignment in VB.NET
WPF SpellChecker in VB.NET
WPF Border Properties in VB.NET
WPF RenderTransform and LayoutTransform in VB.NET
WPF Animate visibility property of UI Element in VB.NET
WPF Currently selected ComboBox item in VB.NET
WPF Add control Panel in VB.NET
WPF Wrap controls WrapPanel in VB.NET
WPF Polygon and MouseDown Event in VB.NET
WPF Tab Control in VB.NET
WPF Bitmap Effect in VB.NET: Part 1
WPF Select Item in TreeView control in VB.NET
WPF Expander and ExpandDirection Property in VB.NET
WPF resize an Ellipse using ScrollBar in VB.NET
Advantages of WPF Over WinForms in VB.NET
WPF Implementation of StatusBar in VB.NET
WPF Close Popup on Button click in VB.NET
WPF Slider to scale a Line in VB.NET
WPF Set Text to TextBlock for selected List Item in VB.NET
WPF Handle RadioButton Checked Event in VB.NET
WPF Working with Progress Bar in VB.NET
WPF Tic Tac Toe Game in VB.NET
WPF Retrieve Image from Database in VB.NET
WPF Save an Image to Database in VB.NET
WPF Padding Ball game in VB.NET
Brief Description About WPF in VB.NET
WPF TreeView control XAML in VB.NET
WPF Load and Save a Text File in VB.NET
OpenFileDialog in WPF using VB.NET
WPF Use TextBox KeyDown event handler in VB.NET
WPF change the Visibility property of UIElement in VB.NET
Drawing Bezier Curves in WPF using VB.NET
User Controls in WPF using VB.NET
Implementing Opacity Masks in WPF using VB.NET
WPF GridSplitter control in VB.NET
Named styles in WPF using VB.NET
WPF Create XML Database in VB.NET
Create Hyperlink in WPF using VB.NET
RotateTransform in WPF using VB.NET
ContextMenu in WPF using VB.NET
WPF OpacityMask property in VB.NET
WPF Handle CheckBox Unchecked Event in VB.NET
WPF Spell checker in VB.NET
WPF Use ToolTip in VB.NET
GroupBox control in WPF using VB.NET
WPF ToolBarTray control in VB.NET
WPF Webrowser control in VB.NET
WPF StackPanel control in VB.NET
WPF Database Connectivity with SQL Server in VB.NET
Working with Brushes in WPF PART:6 in VB.NET
© 2020 DotNetHeaven. All rights reserved.
TERMS & CONDITIONS
|
CONTACT US
|
REPORT ABUSE