| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Runtime.InteropServices.WindowsRuntime;
- using Windows.Foundation;
- using Windows.Foundation.Collections;
- using Windows.UI.Xaml;
- using Windows.UI.Xaml.Controls;
- using Windows.UI.Xaml.Controls.Primitives;
- using Windows.UI.Xaml.Data;
- using Windows.UI.Xaml.Input;
- using Windows.UI.Xaml.Media;
- using Windows.UI.Xaml.Navigation;
- // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
- namespace Breda_Tour.CustomControls
- {
- /// <summary>
- /// An empty page that can be used on its own or navigated to within a Frame.
- /// </summary>
- public sealed partial class DefaultTopBar : UserControl
- {
- public string MySymbol {
- get { return (string)GetValue(SymbolProperty); }
- set { SetValue(SymbolProperty, value); }
- }
- public string Header
- {
- get { return (string)GetValue(HeaderProperty); }
- set { SetValue(HeaderProperty, value); }
- }
- public static readonly DependencyProperty SymbolProperty =
- DependencyProperty.Register("MySymbol", typeof(string), typeof(DefaultTopBar), null);
- public static readonly DependencyProperty HeaderProperty =
- DependencyProperty.Register("Header", typeof(string), typeof(DefaultTopBar), null);
- public DefaultTopBar()
- {
- this.InitializeComponent();
- this.DataContext = this;
- }
- }
- }
|