Partager via


CrispImage.SetHighContrast(DependencyObject, Nullable<Boolean>) Method

Definition

Determines whether the CrispImage objects that are descendants of the element to which this property is attached show high-contrast images.

public:
 static void SetHighContrast(System::Windows::DependencyObject ^ element, Nullable<bool> value);
public static void SetHighContrast (System.Windows.DependencyObject element, bool? value);
static member SetHighContrast : System.Windows.DependencyObject * Nullable<bool> -> unit
Public Shared Sub SetHighContrast (element As DependencyObject, value As Nullable(Of Boolean))

Parameters

element
DependencyObject

The element.

value
Nullable<Boolean>

The values are as follows:True - Images are high-contrastFalse - Images are not high-contrastnull - Images are displayed according to the system high-contrast setting

Applies to