Table of Contents

Class ThemeBinding

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll

Represents a theme binding for a specific target object and property Implements proper disposal pattern and weak references to prevent memory leaks

public class ThemeBinding : IDisposable
Inheritance
ThemeBinding
Implements
Inherited Members
Extension Methods

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

UpdateTargetValue()

Updates the target property with the current theme value Returns true if update was successful, false if target is no longer available

public bool UpdateTargetValue()

Returns

bool