Version

GlyphInfo Property (UltraOptionSet)

Determines how radio buttons are drawn.
Syntax
'Declaration
 
Public Property GlyphInfo As Infragistics.Win.GlyphInfoBase
public Infragistics.Win.GlyphInfoBase GlyphInfo {get; set;}
Remarks

To use the standard glyphs, set this property to the static UIElementDrawParams.StandardRadioButtonGlyphInfo instance.

To use the Office2007 glyphs, set this property to the static UIElementDrawParams.Office2007RadioButtonGlyphInfo instance.

Note: If you want to set the GlyphInfo for all Infragistics controls in your application, use the static Infragistics.Win.UIElementDrawParams.RadioButtonGlyphInfo property. It is not neccessary to set GlyphInfo on each control individually. This control setting will override the UIElementDrawParams setting.

Example
The code below demonstrates how to assign a GlyphInfo. Note that the GlyphInfo property will accept any object derived from GlyphInfoBase. So, although it is not shown here, the property can be assigned a RadioButtonImageGlyphInfo object.

Imports Infragistics.Win

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ' Use the default glyph info
        ' This will be themed or unthemed depening on the system settings. 
        Me.ultraOptionSet1.ResetGlyphInfo()

        ' Turn off themes.
        Me.ultraOptionSet2.UseOsThemes = DefaultableBoolean.False
        ' Use the standard checkbox style.
        Me.ultraOptionSet2.GlyphInfo = UIElementDrawParams.StandardRadioButtonGlyphInfo

        ' Use the office 2007 checkbox glyphs. 
        Me.ultraOptionSet3.UseOsThemes = DefaultableBoolean.False
        Me.ultraOptionSet3.GlyphInfo = UIElementDrawParams.Office2007RadioButtonGlyphInfo
    End Sub
using Infragistics.Win;

private void Form1_Load(object sender, EventArgs e)
{
	// Use the default glyph info
	// This will be themed or unthemed depening on the system settings. 
	this.ultraOptionSet1.ResetGlyphInfo();

	// Turn off themes.
	this.ultraOptionSet2.UseOsThemes = DefaultableBoolean.False;
	// Use the standard checkbox style.
	this.ultraOptionSet2.GlyphInfo = UIElementDrawParams.StandardRadioButtonGlyphInfo;

	// Use the office 2007 checkbox glyphs. 
	this.ultraOptionSet3.UseOsThemes = DefaultableBoolean.False;
	this.ultraOptionSet3.GlyphInfo = UIElementDrawParams.Office2007RadioButtonGlyphInfo;
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also