CrispImage.SetHighContrast(DependencyObject, Nullable<Boolean>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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