Thump mit Textbox, wie kann man die Textbox Werte bearbeiten

lusiphur

Mitglied
Hallo Ich habe folgendes Controll Template effiniert

XML:
 <ControlTemplate x:Key="Funktion">
        <StackPanel>
            <Image Name="tplImage" Source="/Images/funktion.png" Stretch="Uniform" Width="96" Height="67" HorizontalAlignment="Center"/>
            <TextBlock Name="tplTextBlock" Text="Funktion" HorizontalAlignment="Center"/>
            <TextBox>Text</TextBox>
            <Label></Label>
        </StackPanel>
    </ControlTemplate>
Ich erstelle das Thmup so
ControlTemplate tmp = new ControlTemplate();
tmp= (ControlTemplate)Application.Current.Resources["Ereigniss"];
designer.AddShape(tmp, e.GetPosition(diagramView));


wie kann ich die Werte von TextBox und Label bearbeiten?
Ich bekomme es einfach nicht hin

Danke im Voraus Lusiphur
 
Zuletzt bearbeitet von einem Moderator:

Neue Beiträge

Zurück