Freigeben über


PeekSessionCreationOptions Class

Definition

Represents a set of parameters that control IPeekSession creation.

public ref class PeekSessionCreationOptions
[Windows::Foundation::Metadata::WebHostHidden]
class PeekSessionCreationOptions
public class PeekSessionCreationOptions
type PeekSessionCreationOptions = class
Public Class PeekSessionCreationOptions
Inheritance
PeekSessionCreationOptions

Constructors

PeekSessionCreationOptions(ITextView, String, ITrackingPoint, Nullable<Double>, Boolean, IPeekResizeListener, Boolean)

This constructor produces PeekSessionCreationOptions that will create a Peek session using the default sizing behavior.

Properties

AllowUserResize

Indicates whether the top and bottom resizers on the Peek control should be enabled.

DefaultHeight

The default height, in pixels, for the Peek control. This height will be overridden by presentations which implement IDesiredHeightProvider. If this is null then the Peek control will attempt to guess an ideal height as a percentage of the view instead of an absolute pixel height.

RelationshipName

The name of the requested relationship to be explored by a Peek session.

ResizeListener

If set, this contains an object that will be notified when the user resizes the Peek control.

ShouldFocusOnLoad

Indicates whether or not the Peek control should get the user's focus when it is first loaded.

TextView

The ITextView over which to create a Peek session.

TriggerPoint

The point in the text buffer at which a Peek session is requested.

Applies to