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)
- C#
 - VB
 - F#
 
public void EnsureCapacity(
	int capacity
)
Public Sub EnsureCapacity ( 
	capacity As Integer
)
member EnsureCapacity : 
        capacity : int -> unit 
Parameters
Remarks
This method may have no effect when targeting .NET Standard 2.0.