Čítať v angličtine Upraviť

Zdieľať cez


FrameworkCompatibilityPreferences Class

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.

Contains properties that specify how an application should behave relative to WPF features that are in the PresentationFramework assembly.

C#
public static class FrameworkCompatibilityPreferences
Inheritance
FrameworkCompatibilityPreferences

Properties

AreInactiveSelectionHighlightBrushKeysSupported

Gets or sets a value that indicates whether the application should use the InactiveSelectionHighlightBrush and InactiveSelectionHighlightTextBrush properties for the colors of inactive selected items.

KeepTextBoxDisplaySynchronizedWithTextProperty

Gets or sets a value that indicates whether a data-bound TextBox should display a string that is identical to the value of the source its Text property.

ShouldThrowOnCopyOrCutFailure

Gets or sets a value that indicates whether a failed copy or cut operation in a TextBoxBase instance results in a ExternalException.

Applies to

Produkt Verzie
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10