Can i use design time databinding with Noesis GUI
Hi,
I normally develop in WPF. I don't really use blend but code directly in VS.
I generally use design-time binding in my views to my viewmodels, which i find a very handy feature.
Can i also use design time binding with Noesis?
I normally develop in WPF. I don't really use blend but code directly in VS.
I generally use design-time binding in my views to my viewmodels, which i find a very handy feature.
Can i also use design time binding with Noesis?
-
sfernandez
Site Admin
- Posts: 2995
- Joined:
Re: Can i use design time databinding with Noesis GUI
Hi, if you use Blend as the tool for UI design then the answer is yes. You can take a look at our samples to see how we do it.
For example, the Scoreboard blend project uses an additional ScoreboardSampleData.xaml file for defining design-time data.
The QuestLog sample directly uses a design-time instance of the ViewModel to show data while designing the UI in Blend.
You can choose what option fits better for your project.
For example, the Scoreboard blend project uses an additional ScoreboardSampleData.xaml file for defining design-time data.
Code: Select all
d:DataContext="{d:DesignData /Blend/Scoreboard/SampleData/ScoreboardSampleData.xaml}"
Code: Select all
d:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}
Re: Can i use design time databinding with Noesis GUI
Thanks. Intellisense does not pick it up. I feel like im doing something wrong but knowing it's possible i can investigate.Hi, if you use Blend as the tool for UI design then the answer is yes. You can take a look at our samples to see how we do it.
For example, the Scoreboard blend project uses an additional ScoreboardSampleData.xaml file for defining design-time data.The QuestLog sample directly uses a design-time instance of the ViewModel to show data while designing the UI in Blend.Code: Select alld:DataContext="{d:DesignData /Blend/Scoreboard/SampleData/ScoreboardSampleData.xaml}"
You can choose what option fits better for your project.Code: Select alld:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}
Re: Can i use design time databinding with Noesis GUI
Sure, please let us know about it.
Who is online
Users browsing this forum: No registered users and 2 guests