Browse Source

Clip Panel content to bounds.

droid
Steven Kirk 11 years ago
parent
commit
991b7058af
  1. 8
      src/Perspex.Controls/Panel.cs

8
src/Perspex.Controls/Panel.cs

@ -29,6 +29,14 @@ namespace Perspex.Controls
private ILogical _childLogicalParent;
/// <summary>
/// Initializes static members of the <see cref="Panel"/> class.
/// </summary>
static Panel()
{
ClipToBoundsProperty.OverrideDefaultValue<StackPanel>(true);
}
/// <summary>
/// Initializes a new instance of the <see cref="Panel"/> class.
/// </summary>

Loading…
Cancel
Save