Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 05:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C#] WPF.MDI MdiChild hilfe!

Discussion on [C#] WPF.MDI MdiChild hilfe! within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Maufeat's Avatar
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,149
Received Thanks: 665
[C#] WPF.MDI MdiChild hilfe!

Hallo,

ich benutze WPF.MDI und wollte fragen wie/ob es möglich ist den MdiChild titel im Child zu ändern.

Hier mein Code wie ich den MdiChild öffne:
Code:
foreach(Account acc in List<Accounts>){
 Container.Child.Add(new MdiChild {
 title = "Temporary", 
 Content = new UserPage(), 
 Position = new Point(30, 20)});
}
so jetzt öffnet sich das UserControl Element "UserPage" jedoch kann ich dort nicht das Attribut "title", den ich beim öffnen gesetzt habe, ändern.

Kennt jemand ne Methode? :/
Maufeat is offline  
Old 11/16/2014, 12:19   #2


 
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
Und wo änderst du den Titel? Ohne vollständigen Code kann ich dir nicht helfen.
Mostey is offline  
Old 11/16/2014, 15:26   #3
 
Maufeat's Avatar
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,149
Received Thanks: 665
Quote:
Originally Posted by Mostey View Post
Und wo änderst du den Titel? Ohne vollständigen Code kann ich dir nicht helfen.
Das ist es ja ^^ Ich weis nicht wie ich den titel änder.

Setzten tue ich ihn hier:
" title = "Temporary", "
Maufeat is offline  
Reply




All times are GMT +1. The time now is 05:18.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.