C# Class CrossUI.iOS.Dialog.Utilities.GlassButton

GlassButton is a glossy/glass button. User code can use either targets or can subscribe to the Tapped event. Colors are customized by asssigning to the NormalColor, HighlightedColor and DisabledColor properties
Inheritance: UIButton
ファイルを表示 Open project: MvvmCross/MvvmCross

Public Properties

Property Type Description
NormalColor UIKit.UIColor

Public Methods

Method Description
BeginTracking ( UITouch uitouch, UIEvent uievent ) : bool
ContinueTracking ( UITouch uitouch, UIEvent uievent ) : bool
Draw ( CGRect rect ) : void
EndTracking ( UITouch uitouch, UIEvent uievent ) : void
GlassButton ( CGRect frame ) : CoreGraphics

Creates a new instance of the GlassButton using the specified dimensions

Method Details

BeginTracking() public method

public BeginTracking ( UITouch uitouch, UIEvent uievent ) : bool
uitouch UITouch
uievent UIEvent
return bool

ContinueTracking() public method

public ContinueTracking ( UITouch uitouch, UIEvent uievent ) : bool
uitouch UITouch
uievent UIEvent
return bool

Draw() public method

public Draw ( CGRect rect ) : void
rect CGRect
return void

EndTracking() public method

public EndTracking ( UITouch uitouch, UIEvent uievent ) : void
uitouch UITouch
uievent UIEvent
return void

GlassButton() public method

Creates a new instance of the GlassButton using the specified dimensions
public GlassButton ( CGRect frame ) : CoreGraphics
frame CGRect
return CoreGraphics

Property Details

NormalColor public_oe property

public UIColor,UIKit NormalColor
return UIKit.UIColor