Skip to content

Commit 9cc880b

Browse files
committed
Update SmallPanel.cs
1 parent 2a3ffb7 commit 9cc880b

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/WPFDevelopers.Shared/Controls/Panel/SmallPanel.cs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@
44

55
namespace WPFDevelopers.Controls
66
{
7-
/// <summary>
8-
/// 当不需要使用Grid的分行分列,则可使用 SmallPanel
9-
/// </summary>
107
public class SmallPanel : Panel
118
{
12-
/// <summary>
13-
/// Content measurement.
14-
/// </summary>
15-
/// <param name="constraint">Constraint</param>
16-
/// <returns>Desired size</returns>
9+
1710
protected override Size MeasureOverride(Size constraint)
1811
{
1912
Size gridDesiredSize = new Size();
@@ -31,10 +24,7 @@ protected override Size MeasureOverride(Size constraint)
3124
}
3225
return (gridDesiredSize);
3326
}
34-
/// <summary>
35-
/// Content arrangement.
36-
/// </summary>
37-
/// <param name="arrangeSize">Arrange size</param>
27+
3828
protected override Size ArrangeOverride(Size arrangeSize)
3929
{
4030
UIElementCollection children = InternalChildren;

0 commit comments

Comments
 (0)