Partilhar via


CrispImage.GetHighContrast(DependencyObject) 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 Nullable<bool> GetHighContrast(System::Windows::DependencyObject ^ element);
public static bool? GetHighContrast (System.Windows.DependencyObject element);
static member GetHighContrast : System.Windows.DependencyObject -> Nullable<bool>
Public Shared Function GetHighContrast (element As DependencyObject) As Nullable(Of Boolean)

Parameters

element
DependencyObject

The element.

Returns

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