Last active
January 30, 2023 08:48
-
-
Save Myoga1012/f0bc37c49a5587fbd09a to your computer and use it in GitHub Desktop.
Silverlight用のXAMLでカレンダーを出力するコードです。XAML以外は全てプロジェクト生成後のままです。やっていることはWPF用のXAMLと同じですが・・・
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 分離コードです。主役はXAMLだよ。 | |
using System.Windows.Controls; | |
namespace Silverlight { | |
public partial class MainPage : UserControl { | |
public MainPage() { InitializeComponent(); } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
名前 : Myoga Screw-bright (旧名:Myoga S. Tomonaka) | |
Twitter : https://twitter.com/Myoga1012 | |
--> | |
<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="Silverlight.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> | |
<sdk:Calendar /> | |
</UserControl> | |
<!-- | |
Calender.xaml | |
Copyright (c) 2014 Myoga-TN.net All Rights Reserved. | |
This software is released under the MIT License. | |
http://opensource.org/licenses/mit-license.php | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment