When I added the UltraGrid's Cells new ultraOptionSet1 GlyphInfo.
new ultraOptionSet1 GlyphInfo.
Infragistics.Win.UIElementDrawParams.Office2007RadioButtonGlyphInfo;but I find it very small. How to custom the Radio Size?
Well.
Now,I hope that you selected one ,but two and three 's column is unselected .
How to do ?
I use the bigger images,It work well.Tkanks a lot!
The images will not be scaled to the size you specified. So all the code you have here will do is leave some padding around the glyph. If you want bigger images, then you have to supply larger images. Stretching the existing images is a bad idea, anyway, since it will look grainy.
Nothing has changed!
Thanks!
but it doesn't work. why???
UltraOptionSet option = new UltraOptionSet();
option.GlyphInfo = new RadioButtonImageGlyphInfo(new Size(30, 30), UIElementDrawParams.Office2007RadioButtonGlyphInfo.NotSelectedDisabled,UIElementDrawParams.Office2007RadioButtonGlyphInfo.SelectedDisabled, UIElementDrawParams.Office2007RadioButtonGlyphInfo.NotSelectedNormal, UIElementDrawParams.Office2007RadioButtonGlyphInfo.SelectedNormal, UIElementDrawParams.Office2007RadioButtonGlyphInfo.NotSelectedMouseOver, UIElementDrawParams.Office2007RadioButtonGlyphInfo.SelectedMouseOver, UIElementDrawParams.Office2007RadioButtonGlyphInfo.NotSelectedPressed, UIElementDrawParams.Office2007RadioButtonGlyphInfo.SelectedPressed, UIElementDrawParams.Office2007RadioButtonGlyphInfo.NotSelectedPressedAndOver, UIElementDrawParams.Office2007RadioButtonGlyphInfo.SelectedPressedAndOver);
row.Cells["ONE"].EditorControl = option;