Display Mode Configuration in Windows Forms Toggle Button
29 Apr 20211 minute to read
Toggle Button is set to display either text or image through its DisplayMode property.
this.toggleButton1.DisplayMode = DisplayType.Text;
// DisplayType.Image ,for displaying image
this.toggleButton1.DisplayMode = DisplayType.Image;
Me.ToggleButton1.DisplayMode = DisplayType.Text
'DisplayType.Image for displaying image
Me.ToggleButton1.DisplayMode = DisplayType.Image