Share 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

AlwaysShowTip 1

Always show the tip.

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.

HideTipDescription 4

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

NeverShowTip 0

Never show the tip.

ShowTipOnHover 2

Show the tip when the user hovers over the adornment.

TipAnchoredPlacement 0

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

TipBottomPlacement 1024

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

TipPlacementMask 3840

Mask used to mask out various possible tip placements.

TipRightPlacement 768

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

TipTopLeftPlacement 256

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

TipTopRightJustifiedPlacement 1280

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

TipTopRightPlacement 512

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

Applies to