Table of Contents

Class NSImageView

Namespace
CarinaStudio.MacOS.AppKit
Assembly
CarinaStudio.AppBase.MacOS.dll

NSImageView.

public class NSImageView : NSControl, IDisposable, IEquatable<NSObject>
Inheritance
NSImageView
Implements
Inherited Members
Extension Methods

Constructors

NSImageView(NSRect)

Initialize new NSImageView instance.

public NSImageView(NSRect frame)

Parameters

frame NSRect

Frame.

NSImageView(Class, IntPtr, bool)

Initialize new NSImageView instance.

protected NSImageView(Class cls, IntPtr handle, bool ownsInstance)

Parameters

cls Class

Class of instance.

handle nint

Handle of instance.

ownsInstance bool

True to owns the instance.

NSImageView(IntPtr, bool, bool)

Initialize new NSImageView instance.

protected NSImageView(IntPtr handle, bool verifyClass, bool ownsInstance)

Parameters

handle nint

Handle of instance.

verifyClass bool

True to verify whether instance is NSImageView or not.

ownsInstance bool

True to owns the instance.

Properties

Image

Get or set image.

public NSImage? Image { get; set; }

Property Value

NSImage

ImageAlignment

Get or set alignment or image.

public NSImageAlignment ImageAlignment { get; set; }

Property Value

NSImageAlignment

ImageScaling

Get or set scaling or image.

public NSImageScaling ImageScaling { get; set; }

Property Value

NSImageScaling