ISemanticZoomInformation 介面

定義

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

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

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

ISemanticZoomInformation 介面會提供 SemanticZoom 控制項的單一檢視資訊。 不過,它不會提供資訊來同步 處理 SemanticZoom的兩個檢視。 ZoomedInViewZoomedOutView應該同步處理,因此如果使用者在ZoomedOutView中選取群組,該群組的詳細資料會顯示在ZoomedInView中。 您可以使用 CollectionViewSource 或新增程式碼來同步檢視。 系結至相同 CollectionViewSource 的任何控制項一律會有相同的目前專案。 如果兩個檢視都使用與其資料來源相同的 CollectionViewSourceCollectionViewSource 會自動同步檢視。 否則,您可以處理 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)

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

適用於

另請參閱