Share via


IXRRadioButton::SetGroupName (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetGroupName(
    const WCHAR* Value
) = 0;

Parameters

  • Value
    [in] Pointer to a WCHAR string 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRRadioButton
IXRRadioButton::GetGroupName