C# Class MonoGameUi.CanvasControl

Inheritance: Control
ファイルを表示 Open project: OctoAwesome/monogameui

Public Methods

Method Description
AddControl ( Control control, Point position ) : void
CanvasControl ( BaseScreenComponent manager, string style = "" ) : System
GetExpectedSize ( Point available ) : Point
RemoveControl ( Control control ) : void
SetActualSize ( Point available ) : void

Protected Methods

Method Description
OnInsertControl ( CollectionEventArgs args ) : void
OnRemoveControl ( CollectionEventArgs args ) : void

Method Details

AddControl() public method

public AddControl ( Control control, Point position ) : void
control Control
position Point
return void

CanvasControl() public method

public CanvasControl ( BaseScreenComponent manager, string style = "" ) : System
manager BaseScreenComponent
style string
return System

GetExpectedSize() public method

public GetExpectedSize ( Point available ) : Point
available Point
return Point

OnInsertControl() protected method

protected OnInsertControl ( CollectionEventArgs args ) : void
args CollectionEventArgs
return void

OnRemoveControl() protected method

protected OnRemoveControl ( CollectionEventArgs args ) : void
args CollectionEventArgs
return void

RemoveControl() public method

public RemoveControl ( Control control ) : void
control Control
return void

SetActualSize() public method

public SetActualSize ( Point available ) : void
available Point
return void