Summary
Observes and sets the value of an expression on an object.
- Namespace
- Avalonia
.Data .Core - Interfaces
-
- IObservable
<object> - IDescription
- IObservable
- Base Types
-
- object
- Lightweight
Observable Base <object>
graph BT
Type-->Base0["LightweightObservableBase<object>"]
Base0-->Base1["object"]
Type-.->Interface0["IObservable<object>"]
Type-.->Interface1["IDescription"]
click Interface1 "/api/Avalonia/IDescription"
Type["ExpressionObserver"]
class Type type-node
Syntax
public class ExpressionObserver : LightweightObservableBase<object>, IObservable<object>,
IDescription
Constructors
Name | Summary |
---|---|
ExpressionObserver |
Initializes a new instance of the ExpressionObserver class.
|
ExpressionObserver |
Initializes a new instance of the ExpressionObserver class.
|
ExpressionObserver |
Initializes a new instance of the ExpressionObserver class.
|
Fields
Name | Constant Value | Summary |
---|---|---|
DataValidators |
An ordered collection of validation checker plugins that can be used to customize
the validation of view model and model data.
static
|
|
PropertyAccessors |
An ordered collection of property accessor plugins that can be used to customize
the reading and subscription of property values on a type.
static
|
|
StreamHandlers |
An ordered collection of stream plugins that can be used to customize the behavior
of the '^' stream binding operator.
static
|
Properties
Name | Value | Summary |
---|---|---|
Description | string |
Gets a description of the expression being observed.
|
Expression | string |
Gets the expression being observed.
|
ResultType | Type |
Gets the type of the expression result or null if the expression could not be
evaluated.
|
Methods
Name | Value | Summary |
---|---|---|
Create |
ExpressionObserver |
Creates a new instance of the
ExpressionObserver class.
static
|
Create |
ExpressionObserver |
Creates a new instance of the
ExpressionObserver class.
static
|
Create |
ExpressionObserver |
Creates a new instance of the
ExpressionObserver class.
static
|
Deinitialize |
void | |
Initialize |
void | |
SetValue |
bool |
Attempts to set the value of a property expression.
|
Subscribed |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
StreamBinding |
T | |
ToBinding |
IBinding |
Converts an
IObservable<T> to an IBinding .
|
ToBindingValue |
IObservable |