Search found 1749 matches

by sfernandez
30 Mar 2020, 21:38
Forum: General Discussion
Replies: 4
Views: 18

Re: CheckBox data binding error

If you need the tree states of the IsChecked then you need a Nullable<bool> property with the following signature for the getter/setter: const Noesis::Nullable<bool>& GetState() const; void SetState(const Noesis::Nullable<bool>& value); And a member variable of type Nullable<bool>: Noesis::Nullable<...
by sfernandez
30 Mar 2020, 16:31
Forum: General Discussion
Replies: 3
Views: 42

Re: UIElement cutoff issue.

You can find the fix in branch 2.2 revision 8712.
by sfernandez
30 Mar 2020, 13:13
Forum: General Discussion
Replies: 1
Views: 9

Re: Expander arrow

You need to create your own template to do that, but you can use our Expander template as starting point (that template has options for every possible ExpandDirection, it can be simplified a lot if you just need one expand direction).
by sfernandez
30 Mar 2020, 13:08
Forum: General Discussion
Replies: 4
Views: 18

Re: CheckBox data binding error

CheckBox.IsChecked property is of type Nullable<bool>, you can just use a bool property in the view model. The getter and setter signature in that case is:
bool GetSuspended() const;
void SetSuspended(bool value);
Let me know if you have any problems using bool.
by sfernandez
26 Mar 2020, 10:25
Forum: General Discussion
Replies: 3
Views: 42

Re: UIElement cutoff issue.

The cutoff problem was a known issue in 2.2.6 version related to opacity groups bigger than window size. This was solved for 3.0 version used in our web xamltoy. You can workaround this situation in case you can animate the opacity of a brush instead. In the attached CutoffExample.xaml you can write...
by sfernandez
25 Mar 2020, 11:51
Forum: General Discussion
Replies: 2
Views: 61

Re: Parse Text - Render Controller Button Glyphs

Are those controller button glyphs from a specific font or images?

You can use TextBlock inlines to build a text containing images like this:

by sfernandez
25 Mar 2020, 11:32
Forum: General Discussion
Replies: 4
Views: 95

Re: Sample noesis test with simple button

It's a sample from the noesis dokumentation I guess you extracted that code from the Events tutorial , right? We should probably add another code block for Unity like this to avoid confusion: NoesisView view = GetComponent<NoesisView>(); Button button = (Button)view.Content.FindName("button"); butt...
by sfernandez
25 Mar 2020, 10:54
Forum: General Discussion
Replies: 3
Views: 140

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. d:DataContext="{d:DesignData /Blend/Scoreboard/Sam...
by sfernandez
19 Mar 2020, 21:08
Forum: General Discussion
Replies: 1
Views: 219

Re: How to block a mouse event when downloading?

It depends at what level you want to handle this, but there is a simple and common way to avoid user interacting with the UI, just show a panel that intercepts all input over the normal controls: <UserControl x:Class="Test.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" x...
by sfernandez
18 Mar 2020, 17:39
Forum: General Discussion
Replies: 5
Views: 1091

Re: Setting the Stretch of an Image element contained in a DataTemplate in UserControl.Resources

Ok, I think we can mark this as solved then.