Share via


IXRRadioButton::GetGroupName (Compact 2013)

3/28/2014

This method retrieves the name that specifies which radio-button controls are mutually exclusive.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGroupName(
    BSTR* pValue
) = 0;

Parameters

  • pValue
    [out] BSTR that indicates a group name that radio-button controls have in common to indicate that they are mutually exclusive.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

When two or more IXRRadioButton controls have the same string for GroupName, a user can select (check) only one IXRRadioButton at a time, regardless of the radio-button control's parent element. If no GroupName is specified, the IXRRadioButton is grouped with other IXRRadioButton controls that are under the same parent element.

.NET Framework Equivalent

System.Windows.Controls.RadioButton.GroupName

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRRadioButton
IXRRadioButton::SetGroupName