SemanticZoom Class

의미 체계 관계가 있는 두 뷰를 통합한 스크롤 가능한 컨트롤을 나타냅니다. 예를 들어, ZoomedOutView는 제목의 인덱스가 될 수 있으며 ZoomedInView는 각 제목 항목에 대한 정보와 요약을 포함할 수 있습니다. 뷰는 확대/축소 또는 기타 상호 작용을 사용하여 변경할 수 있습니다.

상속

Object
  DependencyObject
    UIElement
      FrameworkElement
        Control
          SemanticZoom

구문


public sealed class SemanticZoom : Control


<SemanticZoom ...>
  <SemanticZoom.ZoomedOutView>
    zoomedOutViewContent
  </SemanticZoom.ZoomedOutView>
  <SemanticZoom.ZoomedInView>
    zoomedInViewContent
  </SemanticZoom.ZoomedInView>
</SemanticZoom>


XAML Values

zoomedOutViewContent

ISemanticZoomInfo를 구현하는 클래스에 대한 단일 개체 요소입니다(일반적으로 GridView와 같은 실제 ListViewBase 구현임).

zoomedInViewContent

ISemanticZoomInfo를 구현하는 클래스에 대한 단일 개체 요소입니다(일반적으로 GridView와 같은 실제 ListViewBase 구현임).

특성

[ContentProperty("Name=ZoomedInView")]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

멤버

SemanticZoom클래스에는 다음과 같은 형식의 멤버가 있습니다.

생성자

SemanticZoom클래스에는 다음과 같은 생성자가 있습니다.

생성자Description
SemanticZoom Initializes a new instance of the SemanticZoom class.

 

이벤트

SemanticZoom클래스에는 다음과 같은 이벤트가 있습니다.

이벤트Description
DataContextChanged Occurs when the value of the FrameworkElement.DataContext property changes. (다음에서 상속됨 FrameworkElement)
DoubleTapped Occurs when an otherwise unhandled DoubleTap interaction occurs over the hit test area of this element. (다음에서 상속됨 UIElement)
DragEnter Occurs when the input system reports an underlying drag event with this element as the target. (다음에서 상속됨 UIElement)
DragLeave Occurs when the input system reports an underlying drag event with this element as the origin. (다음에서 상속됨 UIElement)
DragOver Occurs when the input system reports an underlying drag event with this element as the potential drop target. (다음에서 상속됨 UIElement)
Drop Occurs when the input system reports an underlying drop event with this element as the drop target. (다음에서 상속됨 UIElement)
GotFocus Occurs when a UIElement receives focus. (다음에서 상속됨 UIElement)
Holding Occurs when an otherwise unhandled Hold interaction occurs over the hit test area of this element. (다음에서 상속됨 UIElement)
IsEnabledChanged Occurs when the IsEnabled property changes. (다음에서 상속됨 Control)
KeyDown Occurs when a keyboard key is pressed while the UIElement has focus. (다음에서 상속됨 UIElement)
KeyUp Occurs when a keyboard key is released while the UIElement has focus. (다음에서 상속됨 UIElement)
LayoutUpdated Occurs when the layout of the visual tree changes, due to layout-relevant properties changing value or some other action that refreshes the layout. (다음에서 상속됨 FrameworkElement)
Loaded Occurs when a FrameworkElement has been constructed and added to the object tree, and is ready for interaction. (다음에서 상속됨 FrameworkElement)
LostFocus Occurs when a UIElement loses focus. (다음에서 상속됨 UIElement)
ManipulationCompleted Occurs when a manipulation on the UIElement is complete. (다음에서 상속됨 UIElement)
ManipulationDelta Occurs when the input device changes position during a manipulation. (다음에서 상속됨 UIElement)
ManipulationInertiaStarting Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. (다음에서 상속됨 UIElement)
ManipulationStarted Occurs when an input device begins a manipulation on the UIElement. (다음에서 상속됨 UIElement)
ManipulationStarting Occurs when the manipulation processor is first created. (다음에서 상속됨 UIElement)
PointerCanceled Occurs when a pointer that made contact abnormally loses contact. (다음에서 상속됨 UIElement)
PointerCaptureLost Occurs when pointer capture previously held by this element moves to another element or elsewhere. (다음에서 상속됨 UIElement)
PointerEntered Occurs when a pointer enters the hit test area of this element. (다음에서 상속됨 UIElement)
PointerExited Occurs when a pointer leaves the hit test area of this element. (다음에서 상속됨 UIElement)
PointerMoved Occurs when a pointer moves while the pointer remains within the hit test area of this element. (다음에서 상속됨 UIElement)
PointerPressed Occurs when the pointer device initiates a Press action within this element. (다음에서 상속됨 UIElement)
PointerReleased Occurs when the pointer device that previously initiated a Press action is released, while within this element. (다음에서 상속됨 UIElement)
PointerWheelChanged Occurs when the delta value of a pointer wheel changes. (다음에서 상속됨 UIElement)
RightTapped Occurs when a right-tap input stimulus happens while the pointer is over the element. (다음에서 상속됨 UIElement)
SizeChanged Occurs when either the ActualHeight or the ActualWidth property changes value on a FrameworkElement. (다음에서 상속됨 FrameworkElement)
Tapped Occurs when an otherwise unhandled Tap interaction occurs over the hit test area of this element. (다음에서 상속됨 UIElement)
Unloaded Occurs when this object is no longer connected to the main object tree. (다음에서 상속됨 FrameworkElement)
ViewChangeCompleted Occurs when a view change is complete and the view is displayed.
ViewChangeStarted Occurs when a view change is requested.

 

메서드

The SemanticZoom 클래스 - 이러한 메서드가 있습니다. 다음 위치의 메서드도 상속합니다. Object 클래스.

메서드Description
AddHandler Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked even if the event is handled elsewhere. (다음에서 상속됨 UIElement)
ApplyTemplate Loads the relevant control template so that its parts can be referenced. (다음에서 상속됨 Control)
Arrange Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (다음에서 상속됨 UIElement)
ArrangeOverride Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior. (다음에서 상속됨 FrameworkElement)
CancelDirectManipulations Cancels ongoing direct manipulation processing (system-defined panning/zooming) on any ScrollViewer parent that contains the current UIElement. (다음에서 상속됨 UIElement)
CapturePointer Sets pointer capture to a UIElement. Once captured, only the element that has capture will fire pointer-related events. (다음에서 상속됨 UIElement)
ClearValue Clears the local value of a dependency property. (다음에서 상속됨 DependencyObject)
FindName Retrieves an object that has the specified identifier name. (다음에서 상속됨 FrameworkElement)
FindSubElementsForTouchTargeting Enables a UIElement subclass to expose child elements that assist with resolving touch targeting. (다음에서 상속됨 UIElement)
Focus Attempts to set the focus on the control. (다음에서 상속됨 Control)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (다음에서 상속됨 DependencyObject)
GetBindingExpression Returns the BindingExpression that represents the binding on the specified property. (다음에서 상속됨 FrameworkElement)
GetTemplateChild Retrieves the named element in the instantiated ControlTemplate visual tree. (다음에서 상속됨 Control)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (다음에서 상속됨 DependencyObject)
GoToElementStateCore When implemented in a derived class, enables per-state construction of a visual tree for a control template in code, rather than by loading XAML for all states at control startup. (다음에서 상속됨 FrameworkElement)
InvalidateArrange Invalidates the arrange state (layout) for a UIElement. After the invalidation, the UIElement will have its layout updated, which will occur asynchronously. (다음에서 상속됨 UIElement)
InvalidateMeasure Invalidates the measurement state (layout) for a UIElement. (다음에서 상속됨 UIElement)
Measure Updates the DesiredSize of a UIElement. Typically, objects that implement custom layout for their layout children call this method from their own MeasureOverride implementations to form a recursive layout update. (다음에서 상속됨 UIElement)
MeasureOverride Provides the behavior for the Measure pass of the layout cycle. Classes can override this method to define their own Measure pass behavior. (다음에서 상속됨 FrameworkElement)
OnApplyTemplate Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class. (다음에서 상속됨 FrameworkElement)
OnCreateAutomationPeer When implemented in a derived class, returns class-specific AutomationPeer implementations for the Microsoft UI Automation infrastructure. (다음에서 상속됨 UIElement)
OnDisconnectVisualChildren Override this method to implement how layout and logic should behave when items are removed from a class-specific content or children property. (다음에서 상속됨 UIElement)
OnDoubleTapped Called before the DoubleTapped event occurs. (다음에서 상속됨 Control)
OnDragEnter Called before the DragEnter event occurs. (다음에서 상속됨 Control)
OnDragLeave Called before the DragLeave event occurs. (다음에서 상속됨 Control)
OnDragOver Called before the DragOver event occurs. (다음에서 상속됨 Control)
OnDrop Called before the Drop event occurs. (다음에서 상속됨 Control)
OnGotFocus Called before the GotFocus event occurs. (다음에서 상속됨 Control)
OnHolding Called before the Holding event occurs. (다음에서 상속됨 Control)
OnKeyDown Called before the KeyDown event occurs. (다음에서 상속됨 Control)
OnKeyUp Called before the KeyUp event occurs. (다음에서 상속됨 Control)
OnLostFocus Called before the LostFocus event occurs. (다음에서 상속됨 Control)
OnManipulationCompleted Called before the ManipulationCompleted event occurs. (다음에서 상속됨 Control)
OnManipulationDelta Called before the ManipulationDelta event occurs. (다음에서 상속됨 Control)
OnManipulationInertiaStarting Called before the ManipulationInertiaStarting event occurs. (다음에서 상속됨 Control)
OnManipulationStarted Called before the ManipulationStarted event occurs. (다음에서 상속됨 Control)
OnManipulationStarting Called before the ManipulationStarting event occurs. (다음에서 상속됨 Control)
OnPointerCanceled Called before the PointerCanceled event occurs. (다음에서 상속됨 Control)
OnPointerCaptureLost Called before the PointerCaptureLost event occurs. (다음에서 상속됨 Control)
OnPointerEntered Called before the PointerEntered event occurs. (다음에서 상속됨 Control)
OnPointerExited Called before the PointerExited event occurs. (다음에서 상속됨 Control)
OnPointerMoved Called before the PointerMoved event occurs. (다음에서 상속됨 Control)
OnPointerPressed Called before the PointerPressed event occurs. (다음에서 상속됨 Control)
OnPointerReleased Called before the PointerReleased event occurs. (다음에서 상속됨 Control)
OnPointerWheelChanged Called before the PointerWheelChanged event occurs. (다음에서 상속됨 Control)
OnRightTapped Called before the RightTapped event occurs. (다음에서 상속됨 Control)
OnTapped Called before the Tapped event occurs. (다음에서 상속됨 Control)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (다음에서 상속됨 DependencyObject)
ReleasePointerCapture Releases pointer captures for capture of one specific pointer by this UIElement. (다음에서 상속됨 UIElement)
ReleasePointerCaptures Releases all pointer captures held by this element. (다음에서 상속됨 UIElement)
RemoveHandler Removes the specified routed event handler from this UIElement. Typically the handler in question was added by AddHandler. (다음에서 상속됨 UIElement)
SetBinding Attaches a binding to a FrameworkElement, using the provided binding object. (다음에서 상속됨 FrameworkElement)
SetValue Sets the local value of a dependency property on a DependencyObject. (다음에서 상속됨 DependencyObject)
ToggleActiveView Changes from the current active view to the other possible view. For example, if IsZoomedInViewActive is true, calling this method changes to zoomed-out view.
TransformToVisual Returns a transform object that can be used to transform coordinates from the UIElement to the specified object. (다음에서 상속됨 UIElement)
UpdateLayout Ensures that all positions of child objects of a UIElement are properly updated for layout. (다음에서 상속됨 UIElement)

 

속성

SemanticZoom클래스 - 이러한 속성이 있습니다.

속성사용 권한Description

ActualHeight

읽기 전용Gets the rendered height of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

ActualWidth

읽기 전용Gets the rendered width of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

AllowDrop

읽기/쓰기Gets or sets a value that determines whether this UIElement can be a drop target for purposes of drag-and-drop operations. (다음에서 상속됨 UIElement)

Background

읽기/쓰기Gets or sets a brush that provides the background of the control. (다음에서 상속됨 Control)

BaseUri

읽기 전용Gets a Uniform Resource Identifier (URI) that represents the base Uniform Resource Identifier (URI) for an XAML-constructed object at XAML load time. This property is useful for Uniform Resource Identifier (URI) resolution at run time. (다음에서 상속됨 FrameworkElement)

BorderBrush

읽기/쓰기Gets or sets a brush that describes the border background of a control. (다음에서 상속됨 Control)

BorderThickness

읽기/쓰기Gets or sets the border thickness of a control. (다음에서 상속됨 Control)

CacheMode

읽기/쓰기Gets or sets a value that indicates that rendered content should be cached as a composited bitmap when possible. (다음에서 상속됨 UIElement)

CanChangeViews

읽기/쓰기Gets or sets a value that declares whether the SemanticZoom can change display views.

CanChangeViewsProperty

읽기 전용Identifies the CanChangeViews dependency property.

CharacterSpacing

읽기/쓰기Gets or sets the uniform spacing between characters, in units of 1/1000 of an em. (다음에서 상속됨 Control)

Clip

읽기/쓰기Gets or sets the RectangleGeometry used to define the outline of the contents of a UIElement. (다음에서 상속됨 UIElement)

CompositeMode

읽기/쓰기Gets or sets a property that declares alternate composition and blending modes for the element in its parent layout and window. This is relevant for elements that are involved in a mixed XAML / Microsoft DirectX UI. (다음에서 상속됨 UIElement)

DataContext

읽기/쓰기Gets or sets the data context for a FrameworkElement when it participates in data binding. (다음에서 상속됨 FrameworkElement)

DefaultStyleKey

읽기/쓰기Gets or sets the key that references the default style for the control. Authors of custom controls use this property to change the default for the style that their control uses. (다음에서 상속됨 Control)

DesiredSize

읽기 전용Gets the size that this UIElement computed during the measure pass of the layout process. (다음에서 상속됨 UIElement)

Dispatcher

읽기 전용Gets the CoreDispatcher that this object is associated with. (다음에서 상속됨 DependencyObject)

FlowDirection

읽기/쓰기Gets or sets the direction in which text and other UI elements flow within any parent element that controls their layout. This property can be set to either LeftToRight or RightToLeft. Setting FlowDirection to RightToLeft on any element sets the alignment to the right, the reading order to right-to-left and the layout of the control to flow from right to left. (다음에서 상속됨 FrameworkElement)

FocusState

읽기 전용Gets a value that specifies whether this control has focus, and the mode by which focus was obtained. (다음에서 상속됨 Control)

FontFamily

읽기/쓰기Gets or sets the font used to display text in the control. (다음에서 상속됨 Control)

FontSize

읽기/쓰기Gets or sets the size of the text in this control. (다음에서 상속됨 Control)

FontStretch

읽기/쓰기Gets or sets the degree to which a font is condensed or expanded on the screen. (다음에서 상속됨 Control)

FontStyle

읽기/쓰기Gets or sets the style in which the text is rendered. (다음에서 상속됨 Control)

FontWeight

읽기/쓰기Gets or sets the thickness of the specified font. (다음에서 상속됨 Control)

Foreground

읽기/쓰기Gets or sets a brush that describes the foreground color. (다음에서 상속됨 Control)

Height

읽기/쓰기Gets or sets the suggested height of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

HorizontalAlignment

읽기/쓰기Gets or sets the horizontal alignment characteristics that are applied to a FrameworkElement when it is composed in a layout parent, such as a panel or items control. (다음에서 상속됨 FrameworkElement)

HorizontalContentAlignment

읽기/쓰기Gets or sets the horizontal alignment of the control's content. (다음에서 상속됨 Control)

IsDoubleTapEnabled

읽기/쓰기Gets or sets a value that determines whether the DoubleTapped event can originate from that element. (다음에서 상속됨 UIElement)

IsEnabled

읽기/쓰기Gets or sets a value indicating whether the user can interact with the control. (다음에서 상속됨 Control)

IsHitTestVisible

읽기/쓰기Gets or sets whether the contained area of this UIElement can return true values for hit testing. (다음에서 상속됨 UIElement)

IsHoldingEnabled

읽기/쓰기Gets or sets a value that determines whether the Holding event can originate from that element. (다음에서 상속됨 UIElement)

IsRightTapEnabled

읽기/쓰기Gets or sets a value that determines whether the RightTapped event can originate from that element. (다음에서 상속됨 UIElement)

IsTabStop

읽기/쓰기Gets or sets a value that indicates whether a control is included in tab navigation. (다음에서 상속됨 Control)

IsTapEnabled

읽기/쓰기Gets or sets a value that determines whether the Tapped event can originate from that element. (다음에서 상속됨 UIElement)

IsZoomedInViewActive

읽기/쓰기Gets or sets a value that determines whether the ZoomedInView is the active view.

IsZoomedInViewActiveProperty

읽기 전용Identifies the IsZoomedInViewActive dependency property.

IsZoomOutButtonEnabled

읽기/쓰기Gets or sets a value that indicates whether the ZoomedInView shows a button that activates the ZoomedOutView.

IsZoomOutButtonEnabledProperty

읽기 전용Identifies the IsZoomOutButtonEnabled dependency property.

Language

읽기/쓰기Gets or sets localization/globalization language information that applies to a FrameworkElement, and also to all child elements of the current FrameworkElement in the object representation and in UI. (다음에서 상속됨 FrameworkElement)

ManipulationMode

읽기/쓰기Gets or sets the ManipulationModes value used for UIElement behavior and interaction with gestures. Setting this value enables handling the manipulation events from this element in app code. (다음에서 상속됨 UIElement)

Margin

읽기/쓰기Gets or sets the outer margin of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

MaxHeight

읽기/쓰기Gets or sets the maximum height constraint of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

MaxWidth

읽기/쓰기Gets or sets the maximum width constraint of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

MinHeight

읽기/쓰기Gets or sets the minimum height constraint of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

MinWidth

읽기/쓰기Gets or sets the minimum width constraint of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

Name

읽기/쓰기Gets or sets the identifying name of the object. When a XAML processor creates the object tree from XAML markup, run-time code can refer to the XAML-declared object by this name. (다음에서 상속됨 FrameworkElement)

Opacity

읽기/쓰기Gets or sets the degree of the object's opacity. (다음에서 상속됨 UIElement)

Padding

읽기/쓰기Gets or sets the padding inside a control. (다음에서 상속됨 Control)

Parent

읽기 전용Gets the parent object of this FrameworkElement in the object tree. (다음에서 상속됨 FrameworkElement)

PointerCaptures

읽기 전용Gets the set of all captured pointers, represented as Pointer values. (다음에서 상속됨 UIElement)

Projection

읽기/쓰기Gets or sets the perspective projection (3-D effect) to apply when rendering this element. (다음에서 상속됨 UIElement)

RenderSize

읽기 전용Gets the final render size of a UIElement. (다음에서 상속됨 UIElement)

RenderTransform

읽기/쓰기Gets or sets transform information that affects the rendering position of a UIElement. (다음에서 상속됨 UIElement)

RenderTransformOrigin

읽기/쓰기Gets or sets the origin point of any possible render transform declared by RenderTransform, relative to the bounds of the UIElement. (다음에서 상속됨 UIElement)

RequestedTheme

읽기/쓰기Gets or sets the UI theme that is used by the UIElement (and its child elements) for resource determination. The UI theme you specify with RequestedTheme can override the app-level RequestedTheme. (다음에서 상속됨 FrameworkElement)

Resources

읽기/쓰기Gets the locally defined resource dictionary. In XAML, you can establish resource items as child object elements of a frameworkElement.Resources property element, through XAML implicit collection syntax. (다음에서 상속됨 FrameworkElement)

Style

읽기/쓰기Gets or sets an instance Style that is applied for this object during layout and rendering. (다음에서 상속됨 FrameworkElement)

TabIndex

읽기/쓰기Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by pressing the Tab key. (다음에서 상속됨 Control)

TabNavigation

읽기/쓰기Gets or sets a value that modifies how tabbing and TabIndex work for this control. (다음에서 상속됨 Control)

Tag

읽기/쓰기Gets or sets an arbitrary object value that can be used to store custom information about this object. (다음에서 상속됨 FrameworkElement)

Template

읽기/쓰기Gets or sets a control template. The control template defines the visual appearance of a control in UI, and is defined in XAML markup. (다음에서 상속됨 Control)

Transitions

읽기/쓰기Gets or sets the collection of Transition style elements that apply to a UIElement. (다음에서 상속됨 UIElement)

Triggers

읽기 전용Gets the collection of triggers for animations that are defined for a FrameworkElement. Not commonly used. (다음에서 상속됨 FrameworkElement)

UseLayoutRounding

읽기/쓰기Gets or sets a value that determines whether rendering for the object and its visual subtree should use rounding behavior that aligns rendering to whole pixels. (다음에서 상속됨 UIElement)

VerticalAlignment

읽기/쓰기Gets or sets the vertical alignment characteristics that are applied to a FrameworkElement when it is composed in a parent object such as a panel or items control. (다음에서 상속됨 FrameworkElement)

VerticalContentAlignment

읽기/쓰기Gets or sets the vertical alignment of the control's content. (다음에서 상속됨 Control)

Visibility

읽기/쓰기Gets or sets the visibility of a UIElement. A UIElement that is not visible is not rendered and does not communicate its desired size to layout. (다음에서 상속됨 UIElement)

Width

읽기/쓰기Gets or sets the width of a FrameworkElement. (다음에서 상속됨 FrameworkElement)

ZoomedInView

읽기/쓰기Gets or sets the semantically more complete zoomed-in view of the SemanticZoom.

ZoomedInViewProperty

읽기 전용Identifies the ZoomedInView dependency property.

ZoomedOutView

읽기/쓰기Gets or sets the zoomed-out view of the SemanticZoom.

ZoomedOutViewProperty

읽기 전용Identifies the ZoomedOutView dependency property.

 

설명

SemanticZoom 컨트롤을 사용하면 사용자가 동일한 콘텐츠의 서로 다른 뷰 간에 확대/축소하여 큰 데이터 집합을 빠르게 탐색할 수 있습니다. 확대된 뷰는 콘텐츠의 기본 뷰입니다. 이 뷰에서 전체 데이터 집합을 표시합니다. 축소된 뷰는 동일한 콘텐츠에서 더 높은 수준의 뷰입니다. 일반적으로 이 뷰의 그룹화된 데이터 집합에 대한 그룹 머리글을 표시합니다. 예를 들어 주소록을 볼 때 문자 하나를 확대해서 해당 문자와 관련된 이름을 확인할 수 있습니다.

SemanticZoom 컨트롤의 확대한 뷰와 축소된 뷰를 정의하려면 ISemanticZoomInformation 인터페이스를 구현하는 두 컨트롤을 사용할 수 있습니다. XAML 프레임워크는 이 인터페이스를 구현하는 여러 컨트롤(ListView, GridViewHub)을 제공합니다. 이러한 컨트롤을 SemanticZoomZoomedInViewZoomedOutView 속성으로 설정합니다.

사용자는 오므리거나 펴는 제스처를 사용하여 터치로 뷰 사이를 전환할 수 있습니다. 기본적으로 확대 보기에는 사용자가 축소 보기를 활성화하기 위해 누를 수 있는 단추도 표시됩니다. IsZoomOutButtonEnabled 속성을 false로 설정하여 축소 단추를 숨길 수 있습니다. IsZoomedInViewActive 속성을 설정하여 뷰 간에 프로그래밍 방식으로 전환할 수 있습니다.

ZoomedInViewZoomedOutView는 동기화되어야 하므로 사용자가 ZoomedOutView에서 그룹을 선택하면 해당 그룹의 세부 정보가 ZoomedInView에 표시됩니다. CollectionViewSource를 사용하거나 코드를 추가하여 뷰를 동기화할 수 있습니다. 동일한 CollectionViewSource에 바인딩하는 컨트롤은 항상 현재 항목이 동일합니다. 두 뷰에서 데이터 소스와 동일한 CollectionViewSource를 사용하는 경우 CollectionViewSource는 뷰를 자동으로 동기화합니다. 그렇지 않으면, ViewChangeStarted 이벤트를 처리하고 이와 같은 이벤트 처리기의 항목을 동기화할 수 있습니다.


private void SemanticZoom_ViewChangeStarted(object sender, SemanticZoomViewChangedEventArgs e)
{
    if (e.IsSourceZoomedInView == false)
    {
        e.DestinationItem.Item = e.SourceItem.Item;
    }
}

SemanticZoom 컨트롤에서 GridView를 사용하는 경우 ScrollViewer.IsHorizontalScrollChainingEnabled 연결된 속성을 GridView의 컨트롤 템플릿에 있는 ScrollViewer에서 항상 false로 설정하십시오(예: <GridView ScrollViewer.IsHorizontalScrollChainingEnabled="False">). SemanticZoom 컨트롤에서 ListView를 사용하는 경우 ScrollViewer.IsVerticalScrollChainingEnabled 연결된 속성을 항상 false로 설정하십시오(예: <ListView ScrollViewer.IsVerticalScrollChainingEnabled="False">).

자세한 내용은 다음 항목을 참조하십시오.

예제

추가 예제를 보려면 XAML GridView 그룹화 및 SemanticZoom 샘플을 참조하십시오.

요구 사항

지원되는 최소 클라이언트

Windows 8 [Windows 스토어 앱만]

지원되는 최소 서버

Windows Server 2012 [Windows 스토어 앱만]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

참고 항목

Control
GridView
ListView
빠른 시작: SemanticZoom 컨트롤 추가
빠른 시작: ListView 및 GridView 컨트롤 추가
목록 또는 표의 항목을 그룹화하는 방법

 

 

표시:
© 2014 Microsoft