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?
You can customize the size, but unfortunately in order to do that you must also provide the images which represent the glyph in each of its various states.
Example:UltraOptionSet option = new UltraOptionSet();option.GlyphInfo = new RadioButtonImageGlyphInfo( new Size(25, 25), image1, image2, image3, image4, image5, image6, image7, image8, image9, image10 );column.EditorControl = option;
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;