Class BindingGroup
- Namespace
- GObject
- Assembly
- GObject-2.0.dll
public class BindingGroup : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
BindingGroup
- Implements
- Inherited Members
Constructors
BindingGroup(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BindingGroup(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BindingGroup(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BindingGroup(CreationData data)
Parameters
dataCreationData
BindingGroup(BindingGroupHandle)
protected BindingGroup(BindingGroupHandle handle)
Parameters
handleBindingGroupHandle
Fields
SourcePropertyDefinition
public static readonly Property<Object?, BindingGroup> SourcePropertyDefinition
Field Value
Properties
Source
public Object? Source { get; set; }
Property Value
Methods
Bind(string, Object, string, BindingFlags)
[Version("2.72")]
public void Bind(string sourceProperty, Object target, string targetProperty, BindingFlags flags)
Parameters
sourcePropertystringtargetObjecttargetPropertystringflagsBindingFlags
BindFull(string, Object, string, BindingFlags, Closure?, Closure?)
[Version("2.72")]
public void BindFull(string sourceProperty, Object target, string targetProperty, BindingFlags flags, Closure? transformTo, Closure? transformFrom)
Parameters
sourcePropertystringtargetObjecttargetPropertystringflagsBindingFlagstransformToClosuretransformFromClosure
DupSource()
[Version("2.72")]
public Object? DupSource()
Returns
GetGType()
public static Type GetGType()
Returns
New()
[Version("2.72")]
public static BindingGroup New()
Returns
NewFromPointer(nint, bool)
Creates a new managed BindingGroup instance for a given pointer.
public static BindingGroup NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BindingGroup and sets the properties specified by the construct arguments.
public static BindingGroup NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetSource(Object?)
[Version("2.72")]
public void SetSource(Object? source)
Parameters
sourceObject