UniWPF Addin
This addin allow dispay any WPF controls on the page. What should be displayed is definet from within NAV through XML and XAML passed to the addin. Right now it is only passive addin, without feedback to the NAV (no events). Could be used to display graphical elements on the page dynamically as needed...
http://www.mibuso.com/dlinfo.asp?FileID=1195
Discuss this download here.
Comments
Use this XML for the plugin:
Just enter the Source file for the media player and you are done... (and align the width and height if you want)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
This addin allow dispay any WPF controls on the page. What should be displayed is definet from within NAV through XML and XAML passed to the addin. Right now it is only passive addin, without feedback to the NAV (no events). Could be used to display graphical elements on the page dynamically as needed...
What's new in v1.1:
You can connect events of the controls inside addin to the NAV event - thus handling the events from controls in NAV.
You can set properties of the controls inside addin dynamically.
Attached example is easy calculator done in WPF (not fully functional!!! Just for demoing the possibilities). Clicking on numbers fire event in NAV, which will refresh the top line in the addin with new value. Button CE is clearing the value.
This example demonstrate everything you need:
Initializing the controls
Setting properties of the addin
Setting properties of the controls inside
Setting events to fire NAV event
The Index parameter of NAV event is set to value of Tag property of the source control.
You can use this addin to create touch screens and other things dynamically inside NAV without programming external components.
Screen shots of your usage of this addin are appreciated!
http://www.mibuso.com/dlinfo.asp?FileID=1195
Discuss this download here.
This addin allow dispay any WPF controls on the page. What should be displayed is defined from within NAV through XML and XAML passed to the addin. Could be used to display graphical elements on the page dynamically as needed...
What's new in v1.2:
GetProperty - you can now request value of property of selected object, which will be returned asynchronously through Addin trigger back into NAV. Now you can read e.g. TextBox content etc. Look how it is done in the Example for more details...
What's new in v1.1:
You can connect events of the controls inside addin to the NAV event - thus handling the events from controls in NAV.
You can set properties of the controls inside addin dynamically.
Attached example is easy calculator done in WPF (not fully functional!!! Just for demoing the possibilities). Clicking on numbers fire event in NAV, which will refresh the top line in the addin with new value. Button CE is clearing the value.
This example demonstrate everything you need:
Initializing the controls
Setting properties of the addin
Setting properties of the controls inside
Setting events to fire NAV event
The Index parameter of NAV event is set to value of Tag property of the source control.
You can use this addin to create touch screens and other things dynamically inside NAV without programming external components.
Screen shots of your usage of this addin are appreciated!
http://www.mibuso.com/dlinfo.asp?FileID=1195
Discuss this download here.
And what MSDN page contains a list of available properties?
I'm in need of a Color picker, which works in the RTC. Can your UniWPF Addin be used for this? Has it been done before?
I think that it could be done, I just need to look at it how it is done...
The XAML structure could be done e.g. in Visual Studio when you create project and add the XAML file there (user control in WPF project). Than you can visually work with it. Of course, much more could be done manually in the visual studio. From visual studio you can open the MSDN through F1 for each control...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
e.g. Help for Button class is here: http://msdn.microsoft.com/query/dev10.q ... 29&rd=true
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
This addin allow dispay any WPF controls on the page. What should be displayed is defined from within NAV through XML and XAML passed to the addin. Could be used to display graphical elements on the page dynamically as needed...
What's new in v1.3:
Now with new functions to add and remove elements dynamically. Still with only the calc demo. I will try to create better demo in future.
- You can add new elements dynamically into existing controls (if new attribute Parent="ParentObjectName" is used).
- You can dynamically remove elements from the addin by DelElement.
- You can use LambdaConverters in the Xaml (functions which could be used in bindings to manipulate the values). See http://code.msdn.microsoft.com/LambdaConverter for more info. Used in the demo to bind size of the ellipse to size of the button when inserting new elements into existing one.
What's new in v1.2:
GetProperty - you can now request value of property of selected object, which will be returned asynchronously through Addin trigger back into NAV. Now you can read e.g. TextBox content etc. Look how it is done in the Example for more details...
What's new in v1.1:
You can connect events of the controls inside addin to the NAV event - thus handling the events from controls in NAV.
You can set properties of the controls inside addin dynamically.
Attached example is easy calculator done in WPF (not fully functional!!! Just for demoing the possibilities). Clicking on numbers fire event in NAV, which will refresh the top line in the addin with new value. Button CE is clearing the value.
This example demonstrate everything you need:
Initializing the controls
Setting properties of the addin
Setting properties of the controls inside
Setting events to fire NAV event
The Index parameter of NAV event is set to value of Tag property of the source control.
You can use this addin to create touch screens and other things dynamically inside NAV without programming external components.
Screen shots of your usage of this addin are appreciated!
http://www.mibuso.com/dlinfo.asp?FileID=1195
Discuss this download here.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.