Develop and Download Open Source Software

Browse Subversion Repository

Contents of /NeoFT/Controls/ILayoutManagedControl.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Tue Mar 25 12:06:05 2008 UTC (16 years ago) by c477
File size: 680 byte(s)


1 using System;
2 using System.Drawing;
3
4 namespace nft.controls
5 {
6 /// <summary>
7 /// ILayoutManagedControl ‚ĚŠT—v‚Ěŕ–ž‚Ĺ‚ˇ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 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26