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(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(316025604, 47891, 20722, 157, 139, 229, 124, 2, 180, 189, 228)]
struct ISemanticZoomInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(316025604, 47891, 20722, 157, 139, 229, 124, 2, 180, 189, 228)]
public interface ISemanticZoomInformation
Public Interface ISemanticZoomInformation
Derived
Attributes

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