Hallo,
ich weiß nicht, ob ich hier möglicherweise komplett falsch bin, oder einfach WPF nicht verstehe - aber ich stelle meine Frage einfach
Also:
Ich will meine Oberfläche in einem größerem Projekt in verschiedenen Namespacen organisieren. Im CodeBehind ist das ganze natürlich kein Problem
Nun scheint aber damit die "Verbindung" zwischen XAML-Design und der CodeBehind-Datei verschwunden zu sein, da nichteinmal mehr "InitializeComponent()" gefunden wird.
Wie sage ich der XAML-Datei jetzt, in welchem Namespace sie sich befinden soll?
Bisherige Google-Suchen haben (zumindest für mich) nur die Möglichkeit erwähnt, andere Namespaces als "xmlns:xy" einzubinden - möglicherweise verstehe ich das aber auch falsch.
Mein bisheriger Versuch war folgendes:
Möglicherweise kann ja einer von euch mich auf den "rechten Pfad" zurückführen
Nico aka mbfan
ich weiß nicht, ob ich hier möglicherweise komplett falsch bin, oder einfach WPF nicht verstehe - aber ich stelle meine Frage einfach
Also:
Ich will meine Oberfläche in einem größerem Projekt in verschiedenen Namespacen organisieren. Im CodeBehind ist das ganze natürlich kein Problem
Nun scheint aber damit die "Verbindung" zwischen XAML-Design und der CodeBehind-Datei verschwunden zu sein, da nichteinmal mehr "InitializeComponent()" gefunden wird.
Wie sage ich der XAML-Datei jetzt, in welchem Namespace sie sich befinden soll?
Bisherige Google-Suchen haben (zumindest für mich) nur die Möglichkeit erwähnt, andere Namespaces als "xmlns:xy" einzubinden - möglicherweise verstehe ich das aber auch falsch.
Mein bisheriger Versuch war folgendes:
XML-Quellcode
- <UserControl x:Class="Applicant"
- xmlns:local="clr-namespace:FPH.SpedV.ClientWPF.Frontend.Controls"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
- mc:Ignorable="d" >
- [...]
- </UserControl>
Möglicherweise kann ja einer von euch mich auf den "rechten Pfad" zurückführen
Nico aka mbfan