C# 클래스 SourceWriter.PreviewWindowController

파일 보기 프로젝트 열기: xamarin/mac-samples 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ErasePreview void
OriginalSize void
PrintDocument void
RefreshPreview void
ReleaseDesignerOutlets void
ScrollToBottom void
ScrollToTop void
ZoomIn void
ZoomOut void

공개 메소드들

메소드 설명
DisplayPreview ( string title, string text, ViewController previewController, string filePath ) : void

Displays the current PreviewController's document in the webview

PreviewWindowController ( IntPtr handle ) : System

Initializes a new instance of the SourceWriter.PreviewWindowController class.

WindowDidLoad ( ) : void

Called when the window has been loaded from the Storyboard file.

비공개 메소드들

메소드 설명
ErasePreview ( Foundation sender ) : void

Erases the preview and breaks the connection to the document.

OriginalSize ( Foundation sender ) : void

Returns the document preview to its original size.

PrintDocument ( NSObject sender ) : void
RefreshPreview ( Foundation sender ) : void

Refreshes the preview by asking the attached ViewController to redisplay the preview.

ReleaseDesignerOutlets ( ) : void
ScrollToBottom ( Foundation sender ) : void

Scrolls the preview document to bottom.

ScrollToTop ( Foundation sender ) : void

Scrolls the preview document to top.

ZoomIn ( Foundation sender ) : void

Zooms in on the document preview.

ZoomOut ( Foundation sender ) : void

Zooms out on the document preview.

메소드 상세

DisplayPreview() 공개 메소드

Displays the current PreviewController's document in the webview
public DisplayPreview ( string title, string text, ViewController previewController, string filePath ) : void
title string The title of the document being displayed.
text string The formatted text to be displayed.
previewController ViewController The ViewController who's document is being displayed.
filePath string
리턴 void

PreviewWindowController() 공개 메소드

Initializes a new instance of the SourceWriter.PreviewWindowController class.
public PreviewWindowController ( IntPtr handle ) : System
handle IntPtr Handle.
리턴 System

WindowDidLoad() 공개 메소드

Called when the window has been loaded from the Storyboard file.
public WindowDidLoad ( ) : void
리턴 void