Search found 49 matches

by whidbey
03 Jun 2019, 16:30
Forum: General Discussion
Replies: 5
Views: 2253

Re: Game dialog/window layout

Please, do not resurrect old threads that are marked as solved. Create new ones. Thanks!
ok,sorry,i just want to bookmark it. just find the function;
by whidbey
03 Jun 2019, 16:27
Forum: General Discussion
Replies: 12
Views: 510

Re: a performence question

Our application framework is setup to render continuously everything per frame. This is the common scenario in videogames. But you can avoid that in your own integration if you want. See for example the IRenderer interface: /// Applies last changes happened in the view. This function does not inter...
by whidbey
03 Jun 2019, 11:19
Forum: General Discussion
Replies: 11
Views: 2178

Re: Simulating modal dialog inside a view

Each UserControl is defined in separate xaml files, then you can reference them in any other xaml just by including an instance of the code-behind class: MyUserControl.xaml <UserControl x:Class="Testing.MyUserControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:/...
by whidbey
03 Jun 2019, 11:17
Forum: General Discussion
Replies: 11
Views: 3112

Re: ListBox item recycling for large lists

In MVVM you will expose an ObservableCollection for the items, and changes done to that collection will reflect in the UI. In order to notify of changes in the data items so UI can be automatically updated, your data must implement the INotifyPropertyChanged interface. You can read more about this ...
by whidbey
03 Jun 2019, 11:16
Forum: General Discussion
Replies: 2
Views: 204

Re: is noesis inside contains win32 dialog?

Noesis does not implement a File browser dialog. You can directly use an operating system dialog (via Win32 in Windows for example), or you can create your own UserControl to render it using Noesis inside your window.
ok,thanks
by whidbey
03 Jun 2019, 04:06
Forum: General Discussion
Replies: 2
Views: 204

is noesis inside contains win32 dialog?

for example win32 api: SHBrowseForFolder
do I need to implement it by myself?
by whidbey
02 Jun 2019, 16:06
Forum: General Discussion
Replies: 11
Views: 2178

Re: Simulating modal dialog inside a view

usercontrol has to put in mainwindow.xml?
I don't understand the question, could you please elaborate a bit more?
I mean each usercontrols will put in a different .xaml file?
Iunderstand thanks。could put to a new xaml file
by whidbey
02 Jun 2019, 14:52
Forum: General Discussion
Replies: 11
Views: 3112

Re: ListBox item recycling for large lists

Yes, we have VirtualizingStackPanel implemented and it is the default items panel for ListBox and ListView. You can also manually use it any ItemsControl by specifying it in the ItemsPanel property. This means only visible items are generated and layout, so you can load lists with hundreds of items...
by whidbey
02 Jun 2019, 14:44
Forum: General Discussion
Replies: 11
Views: 870

Re: navigation between panel

Collapsed controls are not processed during layout so they don't affect the performance.
Although the elements in that tree will be initially created, so the memory consumption will be bigger when having all the screens defined in the main window.
i see, thanks
by whidbey
02 Jun 2019, 14:43
Forum: General Discussion
Replies: 11
Views: 3112

Re: ListBox item recycling for large lists

Yes, we have VirtualizingStackPanel implemented and it is the default items panel for ListBox and ListView. You can also manually use it any ItemsControl by specifying it in the ItemsPanel property. This means only visible items are generated and layout, so you can load lists with hundreds of items...