Delen via


TipStyle Enum

Definition

Flags that describe how the suggestion is shown. Many of these will disappear once we have locked down the style.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TipStyle
[<System.Flags>]
type TipStyle = 
Public Enum TipStyle
Inheritance
TipStyle
Attributes

Fields

Name Value Description
NeverShowTip 0

Never show the tip.

TipAnchoredPlacement 0

Placed above and to the right of the anchor specified in TryDisplaySuggestionAsync(SuggestionBase, CancellationToken).

AlwaysShowTip 1

Always show the tip.

ShowTipOnHover 2

Show the tip when the user hovers over the adornment.

HideTipDescription 4

Hide the description portion of the tip. By default, the description, accept tip, and next tip are shown.

HideAcceptTip 8

Hide the accept tip portion (tab to accept) of the tip. By default, the description, accept tip, and next tip are shown.

HideNextTip 16

Hide the next tip portion (ctrl-alt[, ...) of the tip. By default, the description, accept tip, and next tip are shown.

TipTopLeftPlacement 256

Placed above and to the right of the left edge of the edit (left is aligned with start if the edit span)

TipTopRightPlacement 512

Placed above and to the right of the edit (left aligned with the end of the first line of the edit)

TipRightPlacement 768

Placed to the right of the first line of the edit.

TipBottomPlacement 1024

Placed to the right of the last line of the edit.

TipTopRightJustifiedPlacement 1280

Placed above and with the right edge of the tip aligned with the right edge of the edit.

TipPlacementMask 3840

Mask used to mask out various possible tip placements.

Applies to