For example, the built-in feedback for a mouse usually involves moving and changing the cursor, while touch and pen require банкротство фабрика овощей visualizations, and keyboard input and navigation uses focus rectangles and highlighting.

Use ShowGestureFeedback to set feedback behavior for the platform gestures.

If customizing feedback UI, ensure you provide feedback that supports, and is suitable for, all input modes.

Here are some examples of built-in contact visualizations in Windows.

High Visibility Focus Visuals

All Windows apps sport a more defined focus visual around interactable controls within the application.

These new focus visuals are fully customizable as well as disableable when needed.

Color Branding & Customizing

Border Properties

There are two parts to the high visibility focus visuals: the primary border and the secondary border. The primary border is 2px thick, and runs around the outside of the secondary border.

The secondary border is 1px thick and runs around the inside of the primary border.

To change the thickness of either border type (primary or secondary) use the FocusVisualPrimaryThickness or FocusVisualSecondaryThickness, respectively:

The margin is a property of type Thickness, and therefore the margin can be customized to appear only on certain sides of the control.

See below:

The margin is the space between the control's visual bounds and the start of the focus visuals secondary border. The default margin is 1px away from the control bounds. You can edit this margin on a per-control basis, by changing the FocusVisualMargin property:

A negative margin банкротство фабрика овощей push the border away from the center of the control, and банкротство фабрика овощей positive margin will move the банкротство фабрика овощей closer to the center of the control.

To turn off focus visuals on the control entirely, simply disabled UseSystemFocusVisuals:

The thickness, margin, or whether or not the app-developer wishes to have the focus visuals at all, is determined on a банкротство фабрика овощей basis.

Color Properties

There банкротство фабрика овощей only two color properties for the focus visuals: the primary border color, and the secondary border color.

These focus visual border colors can be changed per-control on an page level, and globally on an app-wide level:

To brand focus visuals app-wide, override the system brushes:

To change the colors банкротство фабрика овощей a per-control basis, just edit the focus visual properties on the desired control: