CrispImage.GetHighContrast(DependencyObject) 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 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