C# 클래스 GoogleCloudExtension.Utils.SelectionUtils

This class provides helpers to update the properties window, manage the currently selected "item".
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateTrackSelection ITrackSelection
GetPropertiesWindow IVsWindowFrame
TicklePropertiesWindow void

공개 메소드들

메소드 설명
ActivatePropertiesWindow ( ) : void
ClearSelection ( ) : void

Clears the selection, making the property window empty.

SelectItem ( object item ) : void

Selects the given item, showing it in the properties window.

SelectionUtils ( Microsoft.VisualStudio.Shell.ToolWindowPane owner ) : Microsoft.VisualStudio.Shell

비공개 메소드들

메소드 설명
CreateTrackSelection ( IServiceProvider serviceProvider ) : ITrackSelection
GetPropertiesWindow ( IServiceProvider serviceProvider, bool forceCreate = false ) : IVsWindowFrame

Returns the properties window if it already exists.

TicklePropertiesWindow ( ) : void

This method implements a workaround for a bug in VS 2015 in which the properties window will not update the very first time is opened until it gains and loses focus. This method forces the focus to change to the properties window and then back to the owner frame to force this behavior.

메소드 상세

ActivatePropertiesWindow() 공개 메소드

public ActivatePropertiesWindow ( ) : void
리턴 void

ClearSelection() 공개 메소드

Clears the selection, making the property window empty.
public ClearSelection ( ) : void
리턴 void

SelectItem() 공개 메소드

Selects the given item, showing it in the properties window.
public SelectItem ( object item ) : void
item object The item to be selected.
리턴 void

SelectionUtils() 공개 메소드

public SelectionUtils ( Microsoft.VisualStudio.Shell.ToolWindowPane owner ) : Microsoft.VisualStudio.Shell
owner Microsoft.VisualStudio.Shell.ToolWindowPane
리턴 Microsoft.VisualStudio.Shell