Starting with the basics with Blend, Noesis and Unreal
Posted: 03 Jun 2025, 10:13
Hi there,
I am brand new to Noesis, I have the unreal samples and I have been reading the documentation but still struggling to understand some core principles.
I was wondering if anybody could help guide me through some absolute basics to develop a better understanding to help get me up on my feet with Noesis. I'm starting super simple.
Starting simple
Using Blend, I can create a new wpf project, Add some simple text and blue background:
Importing to Unreal
If I then import that into unreal, it does not render. However, looking at one of the samples, I saw that everything was wrapped using UserControl.
So I updated the above to then become this:
This then renders in unreal when reimported.
Questions #1
I am just trying to understand the basics of why User Control renders but Window does not, am I right in assuming the reason it does not render inside Unreal is because Noesis within Unreal cannot use Window (as its not a WPF app) and instead it requires it to be a UserControl? Does this mean parent in my XAML always needs be a User Control? I tried looking through the documentation for something specific about this, but feel free to point me to it if I have missed it.
Code Behind Basics
Question #2
If I wanted to make MainWindow.cs file add the text to the grid (instead of defining the text up front in the XAML file), what would be the correct code within the .cs file for that to work? I have tried playing around with it, I can make it work fine with blend, but not with Noesis.
I have come across some examples with #if Noesis etc, but I think I just need a super basic example for adding content dynamically using the .cs file rather than having it existing in the XAML to begin with.
Ultimately my goal is to be able to read a csv file containing a dataset of 2d vectors, with this dataset I would then draw lines (using path geometry).
Text Blocks v Labels
Question #3
Should I not be using TextBlock? I read in the documentation about Label:
Thanks for reading and I would appreciate any help to get me up on my feet! :)
I am brand new to Noesis, I have the unreal samples and I have been reading the documentation but still struggling to understand some core principles.
I was wondering if anybody could help guide me through some absolute basics to develop a better understanding to help get me up on my feet with Noesis. I'm starting super simple.
Starting simple
Using Blend, I can create a new wpf project, Add some simple text and blue background:
Code: Select all
<Window x:Class="TestProject.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TestProject"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" Background="CadetBlue">
<Grid>
<TextBlock Text="Hello World" Foreground="DarkBlue" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="36"/>
</Grid>
</Window>Importing to Unreal
If I then import that into unreal, it does not render. However, looking at one of the samples, I saw that everything was wrapped using UserControl.
So I updated the above to then become this:
Code: Select all
<UserControl x:Class="TestProject.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TestProject"
mc:Ignorable="d"
d:DesignWidth="1920"
d:DesignHeight="1080"
Background="LightBlue">
<Grid>
<TextBlock Text="Hello World" Foreground="DarkBlue" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="36"/>
</Grid>
</UserControl>Questions #1
I am just trying to understand the basics of why User Control renders but Window does not, am I right in assuming the reason it does not render inside Unreal is because Noesis within Unreal cannot use Window (as its not a WPF app) and instead it requires it to be a UserControl? Does this mean parent in my XAML always needs be a User Control? I tried looking through the documentation for something specific about this, but feel free to point me to it if I have missed it.
Code Behind Basics
Question #2
If I wanted to make MainWindow.cs file add the text to the grid (instead of defining the text up front in the XAML file), what would be the correct code within the .cs file for that to work? I have tried playing around with it, I can make it work fine with blend, but not with Noesis.
I have come across some examples with #if Noesis etc, but I think I just need a super basic example for adding content dynamically using the .cs file rather than having it existing in the XAML to begin with.
Ultimately my goal is to be able to read a csv file containing a dataset of 2d vectors, with this dataset I would then draw lines (using path geometry).
Text Blocks v Labels
Question #3
Should I not be using TextBlock? I read in the documentation about Label:
Label is a classic control that can be used to hold some text. Being a content control, it can hold arbitrary content in its Content property, but Label is really only useful for text.
Thanks for reading and I would appreciate any help to get me up on my feet! :)


