We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to specify images?

Platform: WinForms |
Control: RadioButtonAdv




The RadioButtonAdv control can display images for CheckedState,UnCheckedState,MouseOverCheckedImage,DisabledImage,MouseOverUncheckedImage etc by toggling ImageCheckBox to true and selecting images from the property page.The image size to be displayed can be specified by setting the sizes with ImageCheckBoxSize property of the control.Sizes can be (16 x 16),(32 x 32),(48 x 48) etc. The height and width of ImageCheckBoxSize can be set to different numerals also like (16 x 18),(16 x 20) etc.If the state images of the CheckBox needs to be stretched,then you can make use of the property StretchImage.


Additional Information



this.radioButtonAdv1.ImageCheckBox = true;

this.radioButtonAdv1.ImageCheckBoxSize = new System.Drawing.Size(16, 16);

this.radioButtonAdv1.CheckedImage = ((System.Drawing.Bitmap)(resources.GetObject("radioButtonAdv1.CheckedImage")));

this.radioButtonAdv1.UncheckedImage = ((System.Drawing.Bitmap)(resources.GetObject("radioButtonAdv1.UncheckedImage")));

this.radioButtonAdv1.MouseOverCheckedImage = ((System.Drawing.Bitmap)(resources.GetObject("radioButtonAdv1.MouseOverCheckedImage")));

this.radioButtonAdv1.MouseOverUncheckedImage = ((System.Drawing.Bitmap)(resources.GetObject("radioButtonAdv1.MouseOverUncheckedImage")));

this.radioButtonAdv1.DisabledImage = ((System.Drawing.Bitmap)(resources.GetObject("radioButtonAdv1.DisabledImage")));


Me.radioButtonAdv1.ImageCheckBox = True

Me.radioButtonAdv1.ImageCheckBoxSize = New System.Drawing.Size(16, 16)

Me.radioButtonAdv1.CheckedImage = (CType(resources.GetObject("radioButtonAdv1.CheckedImage"), System.Drawing.Bitmap))

Me.radioButtonAdv1.UncheckedImage = (CType(resources.GetObject("radioButtonAdv1.UncheckedImage"), System.Drawing.Bitmap))

Me.radioButtonAdv1.MouseOverCheckedImage = (CType(resources.GetObject("radioButtonAdv1.MouseOverCheckedImage"), System.Drawing.Bitmap))

Me.radioButtonAdv1.MouseOverUncheckedImage = (CType(resources.GetObject("radioButtonAdv1.MouseOverUncheckedImage"), System.Drawing.Bitmap))

Me.radioButtonAdv1.DisabledImage = (CType(resources.GetObject("radioButtonAdv1.DisabledImage"), System.Drawing.Bitmap))

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile