Sdílet prostřednictvím


EnsureSpanVisibleOptions Enum

Definition

Options to control the behavior of IViewScroller EnsureSpanVisible.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0

Ensure that the end of the span is visible if it is impossible to display the entire span. If none of the text in the span is currently visible, center the span in the view.

ShowStart 1

Ensure that the start of the span is visible if it is impossible to display the entire span.

MinimumScroll 2

Do the minimum amount of scrolling to display the span in the view.

AlwaysCenter 4

Always center the span in the view.

Applies to