Show / Hide Table of Contents

Method GetDefaultLocation

| Improve this Doc View Source

GetDefaultLocation(Size, WindowControl)

Gets the default location for specified WindowControl.

Declaration
protected virtual Point GetDefaultLocation(Size availableSize, WindowControl window)
Parameters
Type Name Description
System.Windows.Size availableSize

The size of the WindowControl container.

WindowControl window

The specified WindowControl.

Returns
Type Description
System.Windows.Point

The default location.

Remarks

The default implementation returns a random location.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest