Modifier

Partager via


VirtualizingPanel.SetCacheLengthUnit Method

Definition

Sets the CacheLengthUnit attached property.

public:
 static void SetCacheLengthUnit(System::Windows::DependencyObject ^ element, System::Windows::Controls::VirtualizationCacheLengthUnit value);
public static void SetCacheLengthUnit (System.Windows.DependencyObject element, System.Windows.Controls.VirtualizationCacheLengthUnit value);
static member SetCacheLengthUnit : System.Windows.DependencyObject * System.Windows.Controls.VirtualizationCacheLengthUnit -> unit
Public Shared Sub SetCacheLengthUnit (element As DependencyObject, value As VirtualizationCacheLengthUnit)

Parameters

element
DependencyObject

The object to set the property on.

value
VirtualizationCacheLengthUnit

The type of unit that is used by the CacheLength property.

Applies to