Search found 85 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 9
by realesmedia
15 Jan 2018, 12:33
Forum: General Discussion
Replies: 11
Views: 3321

Re: [C++] Clear resources on collection item remove.

UPD: Clearing collection with Clear() method have the same effect as in case of removing single item.
by realesmedia
11 Jan 2018, 14:01
Forum: General Discussion
Replies: 11
Views: 3321

Re: [C++] Clear resources on collection item remove.

If element had been removed when it's selected, refcounter greater 1, but must be 1.
Otherwise when not selected refcounter correctly equal 1.
by realesmedia
28 Dec 2017, 12:09
Forum: General Discussion
Replies: 11
Views: 3321

[C++] Clear resources on collection item remove.

I have my own component placed in observable collection with binding to treeview. Component have ref-counter. When I put new element to collection it have ref counter equal 15. When I remove item from collection with Remove() method ref-counter have the same value. When I select another item in coll...
by realesmedia
24 Aug 2017, 09:15
Forum: General Discussion
Replies: 2
Views: 1062

Re: [C++] Hide context menu after focus inside

could you please report it in the bugtracker?
Issue #1138 was created.
by realesmedia
21 Aug 2017, 12:46
Forum: General Discussion
Replies: 2
Views: 1062

[C++] Hide context menu after focus inside

I create custom context menu on right mouse button. When context menu shows I can close it by clicking outside of the context menu. If I click on active elements (such as slider, buttons, checkitems) inside custom context menu I can't close it by clicking outside. How can I fix this behaviour? I tem...
by realesmedia
29 May 2017, 09:26
Forum: General Discussion
Replies: 2
Views: 1596

Re: Data Binding StringFormat

Any suggestions?
by realesmedia
26 May 2017, 17:14
Forum: General Discussion
Replies: 2
Views: 1596

Data Binding StringFormat

XAML: <Label x:Name="label" Content="my_value"/> <TextBlock Text="{Binding Content, ElementName=label, StringFormat={}value is: {0}}"/> My WPF project displays text "value is" before value correctly. Noesis project displays only value without StringFormat prop...
by realesmedia
26 Apr 2017, 16:32
Forum: General Discussion
Replies: 3
Views: 1731

Re: [C++] Custom FontProvider

1. XAML have absolute font path. RegisterFont() get absolute font path. Works good. 2. XAML have relative font path. RegisterFont() get absolute font path. Doesn't work. So, my opinion that MatchFont from parent class somehow saves info about baseUri and try to register with relative path instead of...
by realesmedia
26 Apr 2017, 15:51
Forum: General Discussion
Replies: 3
Views: 1731

Re: [C++] Custom FontProvider

First problem has solved. Have a new one. Change provider. resourceProvider.fontProvider = new ui::MyFontProvider("c:/xaml"); XAML: <TextBlock text="path Themes\Fonts\#Arial" FontFamily="Themes\Fonts\#Arial"/> <TextBlock text="path c:\xaml\Themes\Fonts\#Arial"...
by realesmedia
26 Apr 2017, 10:24
Forum: General Discussion
Replies: 3
Views: 1731

[C++] Custom FontProvider

Described custom FontProvider derived from Noesis::CachedFontProvider with overriden functions: public: void ScanFolder(const NsChar* folder) override; Noesis::Ptr<Noesis::Core::Stream> OpenFont(const NsChar* folder, const NsChar* id) const override; Using root path "C:\#Arial" shows corre...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 9