ISemanticZoomInformation 介面

定義

傳達檢視所需的資訊,以作為 SemanticZoom 的兩個可能檢視之一 (ZoomedOutViewZoomedInView) 。

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
衍生
屬性

備註

ISemanticZoomInformation 介面會提供 SemanticZoom 控件的單一檢視資訊。 不過,它不會提供資訊來同步 處理 SemanticZoom 的兩個檢視。 ZoomedInViewZoomedOutView 應該同步處理,因此如果使用者在 ZoomedOutView 中選取群組,該群組的詳細數據會顯示在 ZoomedInView 中。 您可以使用 CollectionViewSource 或新增程式碼來同步檢視。 系結至相同 CollectionViewSource 的任何控件一律會有相同的目前專案。 如果兩個檢視都使用與其數據源相同的 CollectionViewSource,CollectionViewSource 會自動同步檢視。 否則,您可以處理 SemanticZoom.ViewChangeStarted 事件,並同步處理事件處理程式中的專案。 如需詳細資訊 ,請參閱 SemanticZoom

屬性

IsActiveView

取得或設定值,這個值表示實作檢視是否為使用中檢視。

IsZoomedInView

取得或設定值,這個值表示實作檢視是否為語意上更完整的放大檢視。

SemanticZoomOwner

取得或設定裝載實作檢視的 SemanticZoom 擁有者。

方法

CompleteViewChange()

變更簡報 (的相關層面,例如 當 SemanticZoom 的整體檢視變更時,捲動 UI 或狀態) 。

CompleteViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation)

當實作檢視是來源檢視,而新檢視可能是不同的實作檢視時,完成與檢視變更相關的專案操作。

CompleteViewChangeTo(SemanticZoomLocation, SemanticZoomLocation)

當實作檢視是目的地檢視,而來源檢視是可能不同的實作檢視時,完成與檢視變更相關的專案操作。

InitializeViewChange()

SemanticZoom 的整體檢視即將變更時,初始化簡報相關層面的變更 (,例如卷動 UI 或狀態) 。

MakeVisible(SemanticZoomLocation)

強制檢視中的內容捲動,直到 SemanticZoomLocation 指定的項目可見為止。 此外,也著重於找到的專案。

StartViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation)

當實作檢視是來源檢視,而暫止的目的地檢視是可能不同的實作檢視時,初始化與檢視變更相關的專案操作。

StartViewChangeTo(SemanticZoomLocation, SemanticZoomLocation)

當來源檢視是不同的檢視,而暫止的目的地檢視是實作檢視時,初始化與檢視變更相關的專案操作。

適用於

另請參閱