Summary
Represents the base class for an object that sizes and arranges child elements for a host
and and does not support virtualization.
- Namespace
- Avalonia
.Layout - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
-
- object
- AvaloniaObject
- AttachedLayout
- Derived Types
graph BT
Type-->Base0["AttachedLayout"]
click Base0 "/api/Avalonia.Layout/AttachedLayout"
Base0-->Base1["AvaloniaObject"]
click Base1 "/api/Avalonia/AvaloniaObject"
Base1-->Base2["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type["NonVirtualizingLayout"]
class Type type-node
Derived0["NonVirtualizingStackLayout"]-->Type
click Derived0 "/api/Avalonia.Layout/NonVirtualizingStackLayout"
Syntax
public abstract class NonVirtualizingLayout : AttachedLayout, IAvaloniaObject,
IAvaloniaObjectDebug, INotifyPropertyChanged, IValueSink
Remarks
NonVirtualizingLayout is the base class for layouts that do not support virtualization. You
can inherit from it to create your own layout.
A non-virtualizing layout can measure and arrange child elements.
Events
Name | Type | Summary |
---|---|---|
ArrangeInvalidated | EventHandler |
Occurs when the arrange state (layout) has been invalidated.
Inherited from AttachedLayout
|
MeasureInvalidated | EventHandler |
Occurs when the measurement state (layout) has been invalidated.
Inherited from AttachedLayout
|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Properties
Name | Value | Summary |
---|---|---|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
LayoutId | string |
Inherited from AttachedLayout
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|
Methods
Name | Value | Summary |
---|---|---|
Arrange |
Size |
Positions child elements and determines a size for a container UIElement. Container
elements that support attached layouts should call this method from their layout
override implementations to form a recursive layout update.
Inherited from AttachedLayout
|
BeginBatchUpdate |
void |
Inherited from AvaloniaObject
|
Bind |
IDisposable |
Binds a
AvaloniaProperty to an observable.
Inherited from AvaloniaObject
|
Bind |
IDisposable |
Binds a
AvaloniaProperty to an observable.
Inherited from AvaloniaObject
|
CheckAccess |
bool |
Inherited from AvaloniaObject
|
ClearValue |
void |
Clears a
AvaloniaProperty 's local value.
Inherited from AvaloniaObject
|
ClearValue |
void |
Clears a
AvaloniaProperty 's local value.
Inherited from AvaloniaObject
|
ClearValue |
void |
Clears a
AvaloniaProperty 's local value.
Inherited from AvaloniaObject
|
ClearValue |
void |
Clears a
AvaloniaProperty 's local value.
Inherited from AvaloniaObject
|
CoerceValue |
void |
Coerces the specified
AvaloniaProperty .
Inherited from AvaloniaObject
|
EndBatchUpdate |
void |
Inherited from AvaloniaObject
|
Equals |
bool |
Compares two objects using reference equality.
Inherited from AvaloniaObject
|
GetBaseValue |
Optional |
Gets an
AvaloniaProperty base value.
Inherited from AvaloniaObject
|
GetHashCode |
int |
Gets the hash code for the object.
Inherited from AvaloniaObject
|
GetValue |
object |
Gets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
GetValue |
T |
Gets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
GetValue |
T |
Gets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
InitializeForContext |
void |
Initializes any per-container state the layout requires when it is attached to an
ILayoutable container.
Inherited from AttachedLayout
|
InvalidateArrange |
void |
Invalidates the arrange state (layout) for all UIElement containers that reference this
layout. After the invalidation, the UIElement will have its layout updated, which
occurs asynchronously.
Inherited from AttachedLayout
|
InvalidateMeasure |
void |
Invalidates the measurement state (layout) for all ILayoutable containers that reference
this layout.
Inherited from AttachedLayout
|
IsAnimating |
bool |
Checks whether a
AvaloniaProperty is animating.
Inherited from AvaloniaObject
|
IsSet |
bool |
Checks whether a
AvaloniaProperty is set on this object.
Inherited from AvaloniaObject
|
Measure |
Size |
Suggests a DesiredSize for a container element. A container element that supports
attached layouts should call this method from their own MeasureOverride implementations
to form a recursive layout update. The attached layout is expected to call the Measure
for each of the container’s ILayoutable children.
Inherited from AttachedLayout
|
SetValue |
void |
Sets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
SetValue |
void |
Sets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
SetValue |
IDisposable |
Sets a
AvaloniaProperty value.
Inherited from AvaloniaObject
|
Uninitialize |
void |
Removes any state the layout previously stored on the ILayoutable container.
Inherited from AttachedLayout
|
VerifyAccess |
void |
Inherited from AvaloniaObject
|