Click here to Skip to main content
15,890,186 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF Sucks Pin
#realJSOP28-Dec-08 2:21
mve#realJSOP28-Dec-08 2:21 
AnswerRe: WPF Sucks Pin
ColinM12328-Dec-08 13:31
ColinM12328-Dec-08 13:31 
AnswerRe: WPF Sucks Pin
Not Active28-Dec-08 13:46
mentorNot Active28-Dec-08 13:46 
GeneralRe: WPF Sucks Pin
Mark Salsbery28-Dec-08 14:22
Mark Salsbery28-Dec-08 14:22 
QuestionFrame inside UserControl and wrong namespace Pin
Jammni+27-Dec-08 3:32
Jammni+27-Dec-08 3:32 
AnswerRe: Frame inside UserControl and wrong namespace Pin
Mark Salsbery27-Dec-08 6:48
Mark Salsbery27-Dec-08 6:48 
GeneralRe: Frame inside UserControl and wrong namespace Pin
Jammni+27-Dec-08 23:51
Jammni+27-Dec-08 23:51 
QuestionXAML and C# ! Pin
Mohammad Dayyan27-Dec-08 2:50
Mohammad Dayyan27-Dec-08 2:50 
Hi everybody.

In HTML we can use a written tag in somewhere of our page, with its ID and JavaScript . As you know something like this :

<script language="javascript" type="text/javascript">
    var tag = document.getElementById('tagID');
    var destinationTag = document.getElementById('destinationID');
    destinationTag.innerHTML = tag.innerHTML;
</script>

Now I wanna do it with XAML and C#.
For example, I've already written this XAML code :

<Grid x:Name="tag">
    <Rectangle Style="{DynamicResource RectangleStyleForHolydays}"/>
    <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">
    content
    </TextBlock>
</Grid>

Then I wanna write this XAML code in a container like a Grid with C#
<Grid x:Name="destinationTag">
	<!-- here -->
</Grid>

Is it possible ?
Any ideas ?

Thank you.
QuestionRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 6:06
Mark Salsbery27-Dec-08 6:06 
AnswerRe: XAML and C# ! [modified] Pin
Mohammad Dayyan27-Dec-08 7:12
Mohammad Dayyan27-Dec-08 7:12 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:04
Snufflufugus27-Dec-08 8:04 
GeneralRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 8:10
Mark Salsbery27-Dec-08 8:10 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:23
Snufflufugus27-Dec-08 8:23 
GeneralRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 8:29
Mark Salsbery27-Dec-08 8:29 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:36
Snufflufugus27-Dec-08 8:36 
QuestionUsing WPF In An Unmanaged Application Pin
xiaolin.lan24-Dec-08 21:36
xiaolin.lan24-Dec-08 21:36 
AnswerRe: Using WPF In An Unmanaged Application Pin
viashivan27-Dec-08 3:14
viashivan27-Dec-08 3:14 
GeneralRe: Using WPF In An Unmanaged Application [modified] Pin
xiaolin.lan28-Dec-08 20:19
xiaolin.lan28-Dec-08 20:19 
GeneralRe: Using WPF In An Unmanaged Application Pin
viashivan29-Dec-08 3:30
viashivan29-Dec-08 3:30 
QuestionDeveloping Themes in WPF Pin
kinnuP24-Dec-08 0:22
kinnuP24-Dec-08 0:22 
AnswerRe: Developing Themes in WPF Pin
Pete O'Hanlon24-Dec-08 1:14
mvePete O'Hanlon24-Dec-08 1:14 
QuestionText Fields in the TextBox Control Pin
chetanN23-Dec-08 1:34
chetanN23-Dec-08 1:34 
AnswerRe: Text Fields in the TextBox Control Pin
Pete O'Hanlon23-Dec-08 3:13
mvePete O'Hanlon23-Dec-08 3:13 
GeneralRe: Text Fields in the TextBox Control Pin
chetanN23-Dec-08 17:20
chetanN23-Dec-08 17:20 
QuestionCheckBox in Header of the column in silverlight 2.0 datagrid Pin
satishkumar.pydipati22-Dec-08 19:54
satishkumar.pydipati22-Dec-08 19:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.