C# 클래스 MapControlSaveLayerFile.ContextMenuClass

파일 보기 프로젝트 열기: Esri/arcobjects-sdk-community-samples 1 사용 예제들

공개 메소드들

메소드 설명
ContextMenuClass ( ) : System
PopupMenu ( int X, int Y, int hWndParent ) : void

Popup the context menu at the given location

SetHook ( object hook ) : void

Instantiate the underlying ToolbarMenu and set the hook object to be passed into the OnCreate event of each command item.

비공개 메소드들

메소드 설명
AddItem ( System.Guid itemGuid, int subtype ) : void

Add a command item to the command bar by the Guid and a subtype index.

AddItem ( Type itemType, int subtype ) : void

Add a command item to the command bar by a type and a subtype index.

AddItem ( UID itemUID ) : void

Add a command item to the command bar by an Unique Identifier Object (UID).

AddItem ( string itemID, int subtype ) : void

Add a command item to the command bar by an identifier string and a subtype index

BeginGroup ( ) : void

Adds a separator bar on the command bar to begin a group.

메소드 상세

ContextMenuClass() 공개 메소드

public ContextMenuClass ( ) : System
리턴 System

PopupMenu() 공개 메소드

Popup the context menu at the given location
public PopupMenu ( int X, int Y, int hWndParent ) : void
X int X coordinate where to popup the menu
Y int Y coordinate where to popup the menu
hWndParent int Handle to the parent window
리턴 void

SetHook() 공개 메소드

Instantiate the underlying ToolbarMenu and set the hook object to be passed into the OnCreate event of each command item.
public SetHook ( object hook ) : void
hook object
리턴 void