Skip to main content

EnsureCapacity Method

Ensures that the resource dictionary can hold up to capacity entries without any further expansion of its backing storage.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void EnsureCapacity(
int capacity
)

Parameters

  Int32
 

Remarks

This method may have no effect when targeting .NET Standard 2.0.

See Also

Reference

ResourceDictionary Class
Avalonia.Controls Namespace