C# Class Eto.Mac.Forms.MacControlExtensions

Mostra file Open project: picoe/Eto

Public Methods

Method Description
CenterInParent ( this view ) : void
GetContainerView ( this control ) : UIKit.UIView
GetMacContainer ( this control ) : IMacContainer
GetMacControl ( this control ) : IMacControlHandler
GetPreferredSize ( this control, Eto.Drawing.SizeF availableSize ) : Eto.Drawing.SizeF
ToAttributedStringWithMnemonic ( this value, NSDictionary attributes = null ) : NSAttributedString

Method Details

CenterInParent() public static method

public static CenterInParent ( this view ) : void
view this
return void

GetContainerView() public static method

public static GetContainerView ( this control ) : UIKit.UIView
control this
return UIKit.UIView

GetMacContainer() public static method

public static GetMacContainer ( this control ) : IMacContainer
control this
return IMacContainer

GetMacControl() public static method

public static GetMacControl ( this control ) : IMacControlHandler
control this
return IMacControlHandler

GetPreferredSize() public static method

public static GetPreferredSize ( this control, Eto.Drawing.SizeF availableSize ) : Eto.Drawing.SizeF
control this
availableSize Eto.Drawing.SizeF
return Eto.Drawing.SizeF

ToAttributedStringWithMnemonic() public static method

public static ToAttributedStringWithMnemonic ( this value, NSDictionary attributes = null ) : NSAttributedString
value this
attributes NSDictionary
return MonoMac.Foundation.NSAttributedString