PinnedContactManager.IsPinSurfaceSupported(PinnedContactSurface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.