File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
Microsoft.Toolkit.Uwp.UI.Controls.Core/DropShadowPanel Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- using Microsoft . Toolkit . Uwp . UI . Controls . Core . DropShadowPanel ;
6
5
using System ;
7
6
using System . Numerics ;
8
7
using Windows . UI ;
Original file line number Diff line number Diff line change 1
1
using Windows . UI . Composition ;
2
2
3
- namespace Microsoft . Toolkit . Uwp . UI . Controls . Core . DropShadowPanel
3
+ /// <summary>
4
+ /// Any user control can implement this interface to provide a custom alpha mask to it's parent <see cref="DropShadowPanel"/>
5
+ /// </summary>
6
+ public interface IAlphaMaskProvider
4
7
{
5
8
/// <summary>
6
- /// Any user control can implement this interface to provide a custom alpha mask to it's parent <see cref="DropShadowPanel"/>
9
+ /// This method should return the appropiate alpha mask to be used in the shadow of this control
7
10
/// </summary>
8
- public interface IAlphaMaskProvider
9
- {
10
- /// <summary>
11
- /// This method should return the appropiate alpha mask to be used in the shadow of this control
12
- /// </summary>
13
- /// <returns>The alpha mask as a composition brush</returns>
14
- CompositionBrush GetAlphaMask ( ) ;
15
- }
11
+ /// <returns>The alpha mask as a composition brush</returns>
12
+ CompositionBrush GetAlphaMask ( ) ;
16
13
}
You can’t perform that action at this time.
0 commit comments