C# Class AppKit.TextKit.Formatter.LanguageFormatCommand

The AppKit.TextKit.Formatter.LanguageFormatCommand defines a formatting command that can be added to a AppKit.TextKit.Formatter.LanguageDescriptor. When a document editor is using the given AppKit.TextKit.Formatter.LanguageDescriptor, the AppKit.TextKit.Formatter.LanguageFormatCommands it defines will be added to the Formatting Menu.
Inheritance: NSObject
Datei anzeigen Open project: xamarin/mac-samples Class Usage Examples

Public Methods

Method Description
LanguageFormatCommand ( ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.

LanguageFormatCommand ( string title ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.

LanguageFormatCommand ( string title, string prefix ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.

LanguageFormatCommand ( string title, string prefix, string postfix ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.

Method Details

LanguageFormatCommand() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.
public LanguageFormatCommand ( ) : System
return System

LanguageFormatCommand() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.
public LanguageFormatCommand ( string title ) : System
title string The title for the menu item.
return System

LanguageFormatCommand() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.
public LanguageFormatCommand ( string title, string prefix ) : System
title string The title for the menu item.
prefix string The prefix to insert.
return System

LanguageFormatCommand() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatCommand class.
public LanguageFormatCommand ( string title, string prefix, string postfix ) : System
title string The title for the menu item.
prefix string The prefix to insert.
postfix string The postfix to insert.
return System