Esempio n. 1
0
        public ItemsControlDemo()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "03 VisualizingData", "02 ", this.GetType().Name);
        }
Esempio n. 2
0
        public Sorting()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "04 Collections", "03 ", this.GetType().Name);
        }
Esempio n. 3
0
        public WiredByResourceLookupView()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 WiringViewViewModel", "05 ", this.GetType().Name);
        }
Esempio n. 4
0
        public WiredUsingPropertyInjection()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 WiringViewViewModel", "03 ", this.GetType().Name);
        }
        public DataContent()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 Introduction", "03 ", this.GetType().Name);
        }
        public NavigationApiDemoView()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "Navigation", String.Empty, this.GetType().Name);
        }
Esempio n. 7
0
        public RoutedCommandView()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "RoutedCommands", String.Empty, this.GetType().Name);
        }
        public UsingWpfValidationRules()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 Rules", "02 ", this.GetType().Name);
        }
        public RelativeSource()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "02 Fundamentals", "02 ", this.GetType().Name);
        }
        public WiredInViewCodeBehind()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 WiringViewViewModel", "02 ", this.GetType().Name);

            this.Loaded += (s, e) => this.DataContext = new ViewModel();
        }
        public BindingsSetInCode()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 Introduction", "07 ", this.GetType().Name);


            this.Loaded += BindingsSetInCode_Loaded;
        }
Esempio n. 12
0
        public DataContextSetInCode()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "01 Introduction", "04 ", this.GetType().Name);

            this.Loaded += (s, e) => {
                this.DataContext = PeopleService.Person;
            };
        }
Esempio n. 13
0
        public BindingToClrProperties()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "02 Fundamentals", "03 ", this.GetType().Name);

            this.Loaded += (s, e) => {
                this.DataContext = PeopleService.Person;
            };
        }
Esempio n. 14
0
        public UpdateSourceTrigger()
        {
            InitializeComponent();
            var loader = new AvalonEditorTextLoader();

            this.textEditor.Text = loader.GetText(Assembly.GetExecutingAssembly().GetName().Name, "02 Fundamentals", "05 ", this.GetType().Name);

            this.Loaded += (s, e) => {
                this.DataContext = PeopleService.Person;
            };
        }