TryGetTotalCount Method
Total children count or null if source is infinite. Some Avalonia features might not work if TryGetTotalCount(Int32) returns false, for instance: nth-last-child selector.
Definition
Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
bool TryGetTotalCount(
out int count
)
Function TryGetTotalCount (
<OutAttribute> ByRef count As Integer
) As Boolean
abstract TryGetTotalCount :
count : int byref -> bool
Parameters
Return Value
BooleanSee Also
Reference
IChildIndexProvider Interface
Avalonia.LogicalTree Namespace