Summary
Represents the base class for layout context types that support virtualization.
- Namespace
- Avalonia
.Layout - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
-
- object
- AvaloniaObject
- LayoutContext
graph BT
Type-->Base0["LayoutContext"]
click Base0 "/api/Avalonia.Layout/LayoutContext"
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["VirtualizingLayoutContext"]
class Type type-node
Syntax
public abstract class VirtualizingLayoutContext : LayoutContext, IAvaloniaObject,
IAvaloniaObjectDebug, INotifyPropertyChanged, IValueSink
Events
Name | Type | Summary |
---|---|---|
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
|
ItemCount | int |
Gets the number of items in the data.
|
LayoutOrigin | Point |
Gets or sets the origin point for the estimated content size.
|
LayoutOriginCore | Point |
Implements the behavior of LayoutOrigin in a derived or custom VirtualizingLayoutContext.
|
LayoutState | object |
Gets or sets an object that represents the state of a layout.
Inherited from LayoutContext
|
LayoutStateCore | object |
Implements the behavior of
LayoutState in a derived or custom LayoutContext.
Inherited from LayoutContext
|
RealizationRect | Rect |
Gets an area that represents the viewport and buffer that the layout should fill with
realized elements.
|
Recommended |
int |
Gets the recommended index from which to start the generation and layout of elements.
|
Recommended |
int |
Implements the behavior for getting the return value of RecommendedAnchorIndex in a
derived or custom
VirtualizingLayoutContext .
|
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 |
---|---|---|
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
|
GetItemAt |
object |
Retrieves the data item in the source found at the specified index.
|
GetItemAtCore |
object |
When implemented in a derived class, retrieves the data item in the source found at the
specified index.
|
GetOrCreateElementAt |
ILayoutable |
Retrieves a UIElement that represents the data item in the source found at the
specified index. By default, if an element already exists, it is returned; otherwise,
a new element is created.
|
GetOrCreateElementAt |
ILayoutable |
Retrieves a UIElement that represents the data item in the source found at the
specified index using the specified options.
|
Get |
ILayoutable |
When implemented in a derived class, retrieves a UIElement that represents the data item
in the source found at the specified index using the specified options.
|
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
|
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
|
ItemCountCore |
int |
When implemented in a derived class, retrieves the number of items in the data.
|
RealizationRectCore |
Rect |
When implemented in a derived class, retrieves an area that represents the viewport and
buffer that the layout should fill with realized elements.
|
RecycleElement |
void |
Clears the specified UIElement and allows it to be either re-used or released.
|
RecycleElementCore |
void |
When implemented in a derived class, clears the specified UIElement and allows it to be
either re-used or released.
|
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
|
VerifyAccess |
void |
Inherited from AvaloniaObject
|