Browse Subversion Repository
Contents of /NeoFT/Controls/ILayoutManagedControl.cs
Parent Directory
| Revision Log
| 1 |
using System; |
| 2 |
using System.Drawing; |
| 3 |
|
| 4 |
namespace nft.controls |
| 5 |
{ |
| 6 |
/// <summary> |
| 7 |
/// ILayoutManagedControl ĚTvĚŕžĹˇB |
| 8 |
/// </summary> |
| 9 |
public interface ILayoutManagedControl |
| 10 |
{ |
| 11 |
/// <summary> |
| 12 |
/// Layout control along X-axis in order to fit within specified height |
| 13 |
/// </summary> |
| 14 |
/// <param name="maxHeight"></param> |
| 15 |
/// <returns>size of layouted control</returns> |
| 16 |
Size LayoutHorizontal(int maxHeight); |
| 17 |
|
| 18 |
/// <summary> |
| 19 |
/// Layout control along Y-axis in order to fit within specified width |
| 20 |
/// </summary> |
| 21 |
/// <param name="maxWidth"></param> |
| 22 |
/// <returns>size of layouted control</returns> |
| 23 |
Size LayoutVirtical(int maxWidth); |
| 24 |
} |
| 25 |
} |
|