콘텐츠로 이동

ContextMenu.AddItem method (1 of 4)

이 콘텐츠는 아직 번역되지 않았습니다.

Adds a command item that uses the command’s presentation.

public void AddItem(Command command)

Adds a non-executable presentation item.

public void AddItem(string text, bool isEnabled = true)

Adds a command item with a presentation and access-key override.

public void AddItem(string text, Command command)

Adds a command item that passes data as the invocation argument.

public void AddItem(string text, Command command, object? data)