DPB2Class · Utilities and settings

Wpf

Provides wpf data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class Wpf
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

8 declared here

FindControlByName

MethodLink ↗
public static T Wpf.FindControlByName<T>(DependencyObject root, string name) where T : class

Calls FindControlByName on Wpf with root, name and returns T. Open the return contract below before using the result.

Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

root
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies root.

name
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies name.

Returns: The T result.

SetupCheckBoxBinding

MethodLink ↗
public static bool Wpf.SetupCheckBoxBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupCheckBoxBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupComboBoxItemsBinding

MethodLink ↗
public static bool Wpf.SetupComboBoxItemsBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupComboBoxItemsBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupComboBoxSelectedItemBinding

MethodLink ↗
public static bool Wpf.SetupComboBoxSelectedItemBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupComboBoxSelectedItemBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupLabelBinding

MethodLink ↗
public static bool Wpf.SetupLabelBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupLabelBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupListBoxItemsBinding

MethodLink ↗
public static bool Wpf.SetupListBoxItemsBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupListBoxItemsBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupListBoxSelectedItemBinding

MethodLink ↗
public static bool Wpf.SetupListBoxSelectedItemBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupListBoxSelectedItemBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetupTextBoxBinding

MethodLink ↗
public static bool Wpf.SetupTextBoxBinding(DependencyObject xamlRoot, string controlName, string bindingName, BindingMode bindingMode, object bindingSource, IValueConverter converter = null)

Calls SetupTextBoxBinding on Wpf with xamlRoot, controlName, bindingName, bindingMode, bindingSource, converter and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

xamlRoot
Parameter type: DependencyObjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies xaml root.

controlName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies control name.

bindingName
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding name.

bindingMode
Parameter type: BindingModeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding mode.

bindingSource
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies binding source.

converter
Parameter type: IValueConverterNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies converter. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.