| SettingsBinderDataBindSettingTSettingValue Method (IBindableComponent, String, ISettingsGroup, String) |
Databinds a setting to a control property, setting the control font to bold when the settings is not inherited.
Namespace: Sdl.Desktop.IntegrationApiAssembly: Sdl.Desktop.IntegrationApi (in Sdl.Desktop.IntegrationApi.dll) Version: 4.0.0.0 (4.2.2764.0)
Syntaxpublic static Binding DataBindSetting<TSettingValue>(
IBindableComponent control,
string propertyName,
ISettingsGroup settingsGroup,
string settingId
)
Public Shared Function DataBindSetting(Of TSettingValue) (
control As IBindableComponent,
propertyName As String,
settingsGroup As ISettingsGroup,
settingId As String
) As Binding
public:
generic<typename TSettingValue>
static Binding^ DataBindSetting(
IBindableComponent^ control,
String^ propertyName,
ISettingsGroup^ settingsGroup,
String^ settingId
)
static member DataBindSetting :
control : IBindableComponent *
propertyName : string *
settingsGroup : ISettingsGroup *
settingId : string -> Binding
Parameters
- control
- Type: System.Windows.FormsIBindableComponent
The control to which to bind the setting. - propertyName
- Type: SystemString
The property of the control to which to bind the setting. - 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[Missing <returns> documentation for "M:Sdl.Desktop.IntegrationApi.SettingsBinder.DataBindSetting``1(System.Windows.Forms.IBindableComponent,System.String,Sdl.Core.Settings.ISettingsGroup,System.String)"]
See Also
Comments