C# Class Open.Testing.Views.ControlWrapperView

Represents the container for a test-control.
Inheritance: TestHarnessViewBase
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Methods

Method Description
ControlWrapperView ( jQueryObject divHost, IView control, jQueryObject htmlElement, ControlDisplayMode displayMode, IEnumerable allViews ) : System

Constructor.

Protected Methods

Method Description
OnDisposed ( ) : void

Destructor.

OnUpdateLayout ( ) : void

Private Methods

Method Description
GetLeft ( ) : int
GetOffsetHeight ( ) : int
GetStackedTop ( ) : int
GetTop ( ) : int
OnHostResized ( object sender, EventArgs e ) : void
SetSizeWithPadding ( int xPadding, int yPadding ) : void
UpdatePosition ( ) : void
UpdateSize ( ) : void

Method Details

ControlWrapperView() public method

Constructor.
public ControlWrapperView ( jQueryObject divHost, IView control, jQueryObject htmlElement, ControlDisplayMode displayMode, IEnumerable allViews ) : System
divHost jQueryObject The control host DIV.
control IView The logical IView control (null if not available).
htmlElement jQueryObject The control content (supplied by the test class. This is the control that is under test).
displayMode ControlDisplayMode The sizing strategy to use for the control.
allViews IEnumerable The Collection of all controls.
return System

OnDisposed() protected method

Destructor.
protected OnDisposed ( ) : void
return void

OnUpdateLayout() protected method

protected OnUpdateLayout ( ) : void
return void