Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Dec 4, 2024
1 parent 4694a91 commit 51e5a98
Show file tree
Hide file tree
Showing 26 changed files with 128 additions and 27 deletions.
25 changes: 25 additions & 0 deletions ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
This project includes third-party software components. Below is a list of those components along with their respective licenses and copyright information.

CommunityToolkit
Repository: https://github.com/CommunityToolkit/Windows
License: MIT License
Copyright (c) Microsoft Corporation and Contributors

MIT License:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 4 additions & 1 deletion dev/DevWinUI.Controls/Controls/ImageEx/ImageEx.Members.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Windows.Media.Casting;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Windows.Media.Casting;

namespace DevWinUI;
/// <summary>
Expand Down
6 changes: 5 additions & 1 deletion dev/DevWinUI.Controls/Controls/ImageEx/ImageEx.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace DevWinUI;

/// <summary>
/// The ImageEx control extends the default Image platform control improving the performance and responsiveness of your Apps.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;
/// <summary>
/// Base Code for ImageEx
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

/// <summary>
/// Base code for ImageEx
Expand Down
5 changes: 4 additions & 1 deletion dev/DevWinUI.Controls/Controls/ImageEx/ImageExBase.Source.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;
/// <summary>
/// Base code for ImageEx
/// </summary>
Expand Down
5 changes: 4 additions & 1 deletion dev/DevWinUI.Controls/Controls/ImageEx/ImageExBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using CommunityToolkit.WinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using CommunityToolkit.WinUI;

using Windows.Foundation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;
/// <summary>
/// A delegate for <see cref="ImageEx"/> failed.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;
/// <summary>
/// A delegate for <see cref="ImageEx"/> opened.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public partial class PagerControl
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System.Windows.Input;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Windows.Input;
using Windows.Foundation;

namespace DevWinUI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Automation;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Automation;
using Microsoft.UI.Xaml.Automation.Peers;
using Microsoft.UI.Xaml.Input;
using System.Collections.ObjectModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Automation;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Automation;
using Microsoft.UI.Xaml.Automation.Peers;

namespace DevWinUI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public enum PagerControlButtonVisibility
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public enum PagerControlDisplayMode
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public record PagerControlSelectedIndexChangedEventArgs(int NewPageIndex, int PreviousPageIndex) {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public partial class PagerControlTemplateSettings : DependencyObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Markup;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Markup;

namespace DevWinUI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

/// <summary>
/// An collection of <see cref="Case"/> to help with XAML interop.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Markup;

namespace DevWinUI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Markup;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Markup;

namespace DevWinUI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.UI.Xaml.Markup;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.UI.Xaml.Markup;

namespace DevWinUI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public enum ImageAlignment
{
Expand Down Expand Up @@ -26,4 +29,4 @@ public enum ImageAlignment
/// Align to Bottom when the property ScrollOrientation is Vertical
/// </summary>
Bottom
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public enum ScrollOrientation
{
Expand All @@ -16,4 +19,4 @@ public enum ScrollOrientation
/// Scroll both Horizontally and vertically
/// </summary>
Both
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace DevWinUI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace DevWinUI;

public partial class TileControl : ContentControl
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Windows.Foundation;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Windows.Foundation;
using Microsoft.UI.Dispatching;

namespace DevWinUI;
Expand Down

0 comments on commit 51e5a98

Please sign in to comment.