ISemanticZoomInformation 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 class ISemanticZoomInformation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2808757091, 8859, 19909, 170, 17, 157, 146, 47, 191, 138, 152)]
struct ISemanticZoomInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2808757091, 8859, 19909, 170, 17, 157, 146, 47, 191, 138, 152)]
public interface ISemanticZoomInformation
Public Interface ISemanticZoomInformation
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

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

IsZoomedInView

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

SemanticZoomOwner

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

Methods

CompleteViewChange()

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

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.

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.

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.

MakeVisible(SemanticZoomLocation)

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

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.

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.

Applies to

See also