C# 클래스 Microsoft.Practices.Prism.Regions.Region

Implementation of IRegion that allows multiple active views.
상속: IRegion
파일 보기 프로젝트 열기: xperiandri/PortablePrism 1 사용 예제들

공개 메소드들

메소드 설명
Activate ( object view ) : void

Marks the specified view as active.

Add ( object view ) : IRegionManager

Adds a new view to the region.

Add ( object view, string viewName ) : IRegionManager

Adds a new view to the region.

Add ( object view, string viewName, bool createRegionManagerScope ) : IRegionManager

Adds a new view to the region.

Deactivate ( object view ) : void

Marks the specified view as inactive.

GetView ( string viewName ) : object

Returns the view instance that was added to the region using a specific name.

Region ( ) : System

Initializes a new instance of Region.

Remove ( object view ) : void

Removes the specified view from the region.

RequestNavigate ( Uri target, Action navigationCallback ) : void

Initiates navigation to the specified target.

비공개 메소드들

메소드 설명
DefaultSortComparison ( object x, object y ) : int
GetItemMetadataOrThrow ( object view ) : ItemMetadata
InnerAdd ( object view, string viewName, IRegionManager scopedRegionManager ) : void
OnPropertyChanged ( string propertyName ) : void
ViewSortHintAttributeComparison ( ViewSortHintAttribute x, ViewSortHintAttribute y ) : int

메소드 상세

Activate() 공개 메소드

Marks the specified view as active.
public Activate ( object view ) : void
view object The view to activate.
리턴 void

Add() 공개 메소드

Adds a new view to the region.
public Add ( object view ) : IRegionManager
view object The view to add.
리턴 IRegionManager

Add() 공개 메소드

Adds a new view to the region.
public Add ( object view, string viewName ) : IRegionManager
view object The view to add.
viewName string The name of the view. This can be used to retrieve it later by calling .
리턴 IRegionManager

Add() 공개 메소드

Adds a new view to the region.
public Add ( object view, string viewName, bool createRegionManagerScope ) : IRegionManager
view object The view to add.
viewName string The name of the view. This can be used to retrieve it later by calling .
createRegionManagerScope bool When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
리턴 IRegionManager

Deactivate() 공개 메소드

Marks the specified view as inactive.
public Deactivate ( object view ) : void
view object The view to deactivate.
리턴 void

GetView() 공개 메소드

Returns the view instance that was added to the region using a specific name.
public GetView ( string viewName ) : object
viewName string The name used when adding the view to the region.
리턴 object

Region() 공개 메소드

Initializes a new instance of Region.
public Region ( ) : System
리턴 System

Remove() 공개 메소드

Removes the specified view from the region.
public Remove ( object view ) : void
view object The view to remove.
리턴 void

RequestNavigate() 공개 메소드

Initiates navigation to the specified target.
public RequestNavigate ( Uri target, Action navigationCallback ) : void
target System.Uri The target.
navigationCallback Action A callback to execute when the navigation request is completed.
리턴 void