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
frameNSRectFrame.
NSImageView(Class, IntPtr, bool)
Initialize new NSImageView instance.
protected NSImageView(Class cls, IntPtr handle, bool ownsInstance)
Parameters
clsClassClass of instance.
handlenintHandle of instance.
ownsInstanceboolTrue to owns the instance.
NSImageView(IntPtr, bool, bool)
Initialize new NSImageView instance.
protected NSImageView(IntPtr handle, bool verifyClass, bool ownsInstance)
Parameters
handlenintHandle of instance.
verifyClassboolTrue to verify whether instance is NSImageView or not.
ownsInstanceboolTrue to owns the instance.
Properties
Image
Get or set image.
public NSImage? Image { get; set; }
Property Value
ImageAlignment
Get or set alignment or image.
public NSImageAlignment ImageAlignment { get; set; }
Property Value
ImageScaling
Get or set scaling or image.
public NSImageScaling ImageScaling { get; set; }