Udostępnij za pośrednictwem


PinnedContactManager.IsPinSurfaceSupported(PinnedContactSurface) Method

Definition

Indicates whether the specified location in the Windows UI supports contact pinning.

public:
 virtual bool IsPinSurfaceSupported(PinnedContactSurface surface) = IsPinSurfaceSupported;
bool IsPinSurfaceSupported(PinnedContactSurface const& surface);
public bool IsPinSurfaceSupported(PinnedContactSurface surface);
function isPinSurfaceSupported(surface)
Public Function IsPinSurfaceSupported (surface As PinnedContactSurface) As Boolean

Parameters

surface
PinnedContactSurface

A pinnedContactSurface value that specifies a pinning location in the Windows UI. This property determines whether pinning is supported in that location.

Returns

Boolean

bool

true if the location in the Windows UI supports contact pinning; otherwise, false.

Windows requirements

App capabilities
contactsSystem

Remarks

This property can be useful if your app handles the Window.SizeChanged event. That event is raised when the view changes between monitors. In the WindowSizeChanged event handler, your could use this property to determine whether the new monitor supports pinning.

Applies to