I​Semantic​Zoom​Information I​Semantic​Zoom​Information I​Semantic​Zoom​Information Interface

Definition

Communicates the info needed for a view to serve as one of the two possible views (ZoomedOutView or ZoomedInView ) of a SemanticZoom.

public : interface ISemanticZoomInformationpublic interface ISemanticZoomInformationPublic Interface ISemanticZoomInformation
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The ISemanticZoomInformation interface provides info for a single view of a SemanticZoom control. However, it doesn't provide info to synchronize the two views of a SemanticZoom. The ZoomedInView and ZoomedOutView should be synchronized, so if a user selects a group in the ZoomedOutView, the details of that group are shown in the ZoomedInView. You can use a CollectionViewSource or add code to synchronize the views. Any controls that you bind to the same CollectionViewSource will always have the same current item. If both views use the same CollectionViewSource as the their data source, the CollectionViewSource will synchronize the views automatically. Otherwise, you can handle the SemanticZoom.ViewChangeStarted event and synchronize the items in the event handler. See SemanticZoom for more info.

Properties

IsActiveView IsActiveView IsActiveView

Gets or sets a value that indicates whether the implementing view is the active view.

public : PlatForm::Boolean IsActiveView { get; set; }public bool IsActiveView { get; set; }Public ReadWrite Property IsActiveView As bool
Value
PlatForm::Boolean bool bool

true if the implementing view is the active view; otherwise, false.

Attributes

IsZoomedInView IsZoomedInView IsZoomedInView

Gets or sets a value that indicates whether the implementing view is the semantically more complete zoomed-in view.

public : PlatForm::Boolean IsZoomedInView { get; set; }public bool IsZoomedInView { get; set; }Public ReadWrite Property IsZoomedInView As bool
Value
PlatForm::Boolean bool bool

true if the implementing view is the zoomed-in view; otherwise, false.

Attributes

SemanticZoomOwner SemanticZoomOwner SemanticZoomOwner

Gets or sets the SemanticZoom owner that hosts the implementing view.

public : SemanticZoom SemanticZoomOwner { get; set; }public SemanticZoom SemanticZoomOwner { get; set; }Public ReadWrite Property SemanticZoomOwner As SemanticZoom
Value
SemanticZoom SemanticZoom SemanticZoom

The SemanticZoom that hosts this view.

Attributes

Methods

CompleteViewChange() CompleteViewChange() CompleteViewChange()

Changes related aspects of presentation (such as scrolling UI or state) when the overall view for a SemanticZoom changes.

public : void CompleteViewChange()public void CompleteViewChange()Public Function CompleteViewChange() As void
Attributes

CompleteViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) CompleteViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) CompleteViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation)

Completes item-wise operations related to a view change when the implementing view is the source view and the new view is a potentially different implementing view.

public : void CompleteViewChangeFrom(SemanticZoomLocation source, SemanticZoomLocation destination)public void CompleteViewChangeFrom(SemanticZoomLocation source, SemanticZoomLocation destination)Public Function CompleteViewChangeFrom(source As SemanticZoomLocation, destination As SemanticZoomLocation) As void
Parameters
source
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the source view.

destination
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the destination view.

Attributes

CompleteViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) CompleteViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) CompleteViewChangeTo(SemanticZoomLocation, SemanticZoomLocation)

Completes item-wise operations related to a view change when the implementing view is the destination view and the source view is a potentially different implementing view.

public : void CompleteViewChangeTo(SemanticZoomLocation source, SemanticZoomLocation destination)public void CompleteViewChangeTo(SemanticZoomLocation source, SemanticZoomLocation destination)Public Function CompleteViewChangeTo(source As SemanticZoomLocation, destination As SemanticZoomLocation) As void
Parameters
source
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the source view.

destination
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the destination view.

Attributes

InitializeViewChange() InitializeViewChange() InitializeViewChange()

Initializes the changes to related aspects of presentation (such as scrolling UI or state) when the overall view for a SemanticZoom is about to change.

public : void InitializeViewChange()public void InitializeViewChange()Public Function InitializeViewChange() As void
Attributes

MakeVisible(SemanticZoomLocation) MakeVisible(SemanticZoomLocation) MakeVisible(SemanticZoomLocation)

Forces content in the view to scroll until the item specified by SemanticZoomLocation is visible. Also focuses that item if found.

public : void MakeVisible(SemanticZoomLocation item)public void MakeVisible(SemanticZoomLocation item)Public Function MakeVisible(item As SemanticZoomLocation) As void
Parameters
item
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The item in the view to scroll to.

Attributes

StartViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) StartViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) StartViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation)

Initializes item-wise operations related to a view change when the implementing view is the source view and the pending destination view is a potentially different implementing view.

public : void StartViewChangeFrom(SemanticZoomLocation source, SemanticZoomLocation destination)public void StartViewChangeFrom(SemanticZoomLocation source, SemanticZoomLocation destination)Public Function StartViewChangeFrom(source As SemanticZoomLocation, destination As SemanticZoomLocation) As void
Parameters
source
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the source view.

destination
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the destination view.

Attributes

StartViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) StartViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) StartViewChangeTo(SemanticZoomLocation, SemanticZoomLocation)

Initializes item-wise operations related to a view change when the source view is a different view and the pending destination view is the implementing view.

public : void StartViewChangeTo(SemanticZoomLocation source, SemanticZoomLocation destination)public void StartViewChangeTo(SemanticZoomLocation source, SemanticZoomLocation destination)Public Function StartViewChangeTo(source As SemanticZoomLocation, destination As SemanticZoomLocation) As void
Parameters
source
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the source view.

destination
SemanticZoomLocation SemanticZoomLocation SemanticZoomLocation

The view item as represented in the destination view.

Attributes

See Also