Search found 24 matches

by Khonan
01 Mar 2019, 10:34
Forum: General Discussion
Replies: 3
Views: 1914

Changing GridViewColumn Header programmatically

Hello Noesis :) Changing programmatically the Header text of a GridViewColumn has no effect : My listview contains two column. Column 0 header is empty, column 1 Header is "TEST". Doing the following don't change the header : Noesis.GridViewColumn gvc = ((GridView)m_ListView.View).Columns[1] as Noes...
by Khonan
28 Feb 2019, 17:53
Forum: General Discussion
Replies: 3
Views: 2123

Re: ListView with CheckBox

Have you tried to search up the tree (using VisualTreeHelper.GetParent) looking for the ListViewItem? You will receive the CheckBox being clicked on the OnCheck event handler. Didn't try this as I usualy avoid using VisualTreeHelper on List. I remember cases where with DatagridView VisualTreeHelper...
by Khonan
28 Feb 2019, 16:01
Forum: General Discussion
Replies: 3
Views: 2123

Re: ListView with CheckBox

Still no solution to this problem. In the mean time (and if someone's got the same problem) I've done the following: My listview items are : public class CheckBoxListViewItem : INotifyPropertyChanged I just added an ugly static to the class (public static CheckBoxListViewItem m_LastItemChanged = nul...
by Khonan
28 Feb 2019, 15:57
Forum: General Discussion
Replies: 3
Views: 1850

Re: Load a Xaml and set as DockPanel's child

Found the origin of the problem.

My class is not directly a UserControl but instead my own class wich inherit from UserControl... My own class was performing a Center() on the window at init... My Bad so... and not Noesis's Fault ;)


Fixed. :)
by Khonan
28 Feb 2019, 12:00
Forum: General Discussion
Replies: 3
Views: 1850

Re: Load a Xaml and set as DockPanel's child

I tried after the "parent.Children.Add(control);" to do a parent.UpdateLayout(); or even a parent.InvalidateMeasure(); but with no success..
by Khonan
28 Feb 2019, 11:35
Forum: General Discussion
Replies: 3
Views: 1850

Load a Xaml and set as DockPanel's child

Hi, I'm experiencing a strange behavior : Having a DockPanel with 3 buttons dock to top : <Grid Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Top"> <ScrollViewer> <Border BorderBrush="Black" BorderThickness="4"> <DockPanel x:Name="itGridViewRight" VerticalAlignment="Top"> <Button Doc...
by Khonan
27 Feb 2019, 15:38
Forum: General Discussion
Replies: 3
Views: 2123

ListView with CheckBox

Hi, Anyone having a way to retrieve the listview raw at the moment you check a checkbox ? When you check the CheckBox, the listview row is not selected (I tried all SelectionModes) so no way to get the SelectedItem or SelectedIndex. I'm running out of ideas... :p I have the following XAML code: <Lis...
by Khonan
31 Jan 2019, 11:22
Forum: General Discussion
Replies: 4
Views: 2087

Re: HUD Rendering

I was using a UserControl, <UserControl x:Class="Atome2.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...
by Khonan
24 Jan 2019, 09:11
Forum: General Discussion
Replies: 4
Views: 2087

Re: HUD Rendering

I'll add this to my log: It appears I was using noesistheme.xaml (for testing theming styles) and noesistheme makes the background opaque. As soon as I removed Style or using another one (like NocturnalStyle.xaml) I get back my 3d view behind the HUD : ResourceDictionary style = (ResourceDictionary)...
by Khonan
23 Jan 2019, 23:48
Forum: General Discussion
Replies: 4
Views: 2087

HUD Rendering

Hi, I'm working on some kind of HUD but as soon as I attach a noesisview to my cam, noesis fill the entire screen (and not only the controls from the xaml file). How to make the xaml "root" transparent... Where is defined the background color ? ( I could set the alpha to 0, at least :)) If someone g...