Search found 5 matches

by Orann
05 Mar 2015, 07:08
Forum: General Discussion
Replies: 5
Views: 1885

Re: [Unity] v1.2 UserControls

Thanks for the help! As the documentation hadn't changed, and I hadn't seen this mentioned anywhere around here, I was worried it was an import error of some kind. Given how heavily I tend to use UserControls, i'm surprised there's not more discussion on them around here in general. Thanks for the h...
by Orann
05 Mar 2015, 05:52
Forum: General Discussion
Replies: 5
Views: 1885

Re: [Unity] v1.2 UserControls

Remove [Noesis.Extended] and use (Grid)FindName("ControlRootGrid") instead of FindName<Grid>("ControlRootGrid"). I've updated more than hundred of user controls on 1.2 and it was pretty easy (with regex replacement). Works well! It shouldn't be too hard to change them all, but i...
by Orann
05 Mar 2015, 05:03
Forum: General Discussion
Replies: 5
Views: 1885

[Unity] v1.2 UserControls

Hey all, I just upgraded to v1.2 and it seems there's a lot of undocumented changes to how UserControls work - Previously I was declaring a lot of controls like so: [Noesis.Extended] [Noesis.UserControlSource("Assets/GUI/Controls/control.xaml")] public class CustomUserControlTest : Noesis....
by Orann
05 Feb 2015, 06:43
Forum: General Discussion
Replies: 5
Views: 2180

Cannot get current text in an Editable ComboBox

Hey all, I'm creating an editable combobox with a few pre-set options, designed to let a user type in a destination for a file or select from some convenient presets, but I've run into a few problems. I'm creating the combobox like this: <ComboBox VerticalContentAlignment="Center" Horizont...
by Orann
12 Dec 2014, 03:05
Forum: General Discussion
Replies: 1
Views: 1199

Changing elements in UserControls

If a usercontrol is binding it's internal variables in the method OnPostInit (as is recommended in your documentation), when and where is the best practice for calling methods on that UserControl? To elaborate: I have a usercontrol: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xa...