Click or drag to resize
SettingsBinderDataBindSettingTSettingValue Method (RadioButton, TSettingValue, ISettingsGroup, String)
Databinds a setting to a radiobutton with a specific datasource update mode, setting the control font to bold when the settings is not inherited.

Namespace: Sdl.Desktop.IntegrationApi
Assembly: Sdl.Desktop.IntegrationApi (in Sdl.Desktop.IntegrationApi.dll) Version: 4.0.0.0 (4.2.2764.0)
Syntax
public static Binding DataBindSetting<TSettingValue>(
	RadioButton[] radioButtons,
	TSettingValue[] values,
	ISettingsGroup settingsGroup,
	string settingId
)
where TSettingValue : IComparable

Parameters

radioButtons
Type: System.Windows.FormsRadioButton
The radiobutton to which to bind the setting.
values
Type: TSettingValue
The values to which radio button should be bind.
settingsGroup
Type: Sdl.Core.SettingsISettingsGroup
The settings group that owns the setting.
settingId
Type: SystemString
The id of the setting.

Type Parameters

TSettingValue
The value type of the setting.

Return Value

Type: Binding
The binding between the property value of an object and property value of a control.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments