C# Класс SourceWriter.PreferenceWidowDelegate

Defines a delegate for handling events on our preference window such updating any open windows when the preference window closes.
For more information, please see our Modified Windows Content Docs: https://developer.xamarin.com/guides/mac/user-interface/working-with-windows/#Modified_Windows_Content
Наследование: NSWindowDelegate
Показать файл Открыть проект

Открытые методы

Метод Описание
PreferenceWidowDelegate ( NSWindow window ) : System

Initializes a new instance of the SourceWriter.PreferenceWidowDelegate class.

WindowShouldClose ( Foundation sender ) : bool

Called before an NSWindow is closed. Applies any preference changes to all open windows in the app.

Описание методов

PreferenceWidowDelegate() публичный Метод

Initializes a new instance of the SourceWriter.PreferenceWidowDelegate class.
public PreferenceWidowDelegate ( NSWindow window ) : System
window NSWindow The NSWindow being managed by the NSWindowController this delegate /// is attached to.
Результат System

WindowShouldClose() публичный Метод

Called before an NSWindow is closed. Applies any preference changes to all open windows in the app.
public WindowShouldClose ( Foundation sender ) : bool
sender Foundation The NSWindowController calling this method.
Результат bool