WPF is based on DirectX and cannot run in the browser. XAML can be used to describe anything but it’s generally backed by WPF controls.
if you need a canvas we have the Canvas control that supports all the HTML5 canvas instructions on the server side. See the codeproject demo and the smiley face. The canvas api syntax is identical to the HTML5 Canvas element.
However, for complex 3D objects and animations I recommend using client side code. Wisej supports all of the js viewers available. For example, see the SAP viewer: http://demo.wisej.com/3dviewer/
Hi Angelo!
Thanks for reporting this issue. It was fixed in our internal build 2.1.72. We’re releasing a new build in the next couple days that should address the issue!
Sorry for the inconvenience.
Best regards!
Levie
The attachment is not runnable, but I copied it into another project to try and also looked at the code:
For the last point, I tried a regular combobox and it doesn’t select the text when dropping down while the UserComboBox does so it’s an inconsistency that we can certainly fix. It’s a lot easier to do that in the javascript side. In fact, if you set AutoCompleteMode to Suggest it already automatically drop down the list but it still selects the text. I will log the text selection in the UserComboBox as a bug, the fix should be very quick.
HTH
Hello Luca,
thank you for your reply. I think I made a mistake and did not see the “TaskbarVisibleChanged” Event in the properties list, when I wrote my last answer. I saw it now so this is very useful.
I did not know the Dock property will exclude the Taskbar, so this is also very useful! Thank you for that.
After testing and reworking some of your Desktops, these properties are sufficient for now.
Unfortunately we encountered another problem with the Button in the TaskbarItemControl. Once the Text of the Button gets to long, the text gets wrapped into the next line and the TaskBar height gets increased. This is problematic visually and it also appears like the increase taskbar height messes with the docked Control and makes the taskbar overlap the docked control slightly. So what I want to achieve is to increase the width of the Button/TaskBarItem rather than wrapping the text.
I tried setting the AutoSize Properties of the button but to no avail. I also tried adjusting the theme, but I did not manage to prevent wrapping the text in the Button.
Is it possible to make the button increase its width while not wrapping the text of the button?
I will attach you a screenshot of the problematic button.
Additionally, I will attach you a sample project
Thank you very much for your assistance!
Hi Luca. Thank you for the response.
‘I have attached the Designer and Code file for a simple form with a UserCombBox and panel (Please see Window1.zip)’
Hi Florian,
Please let me understand better what is that you are looking for. The AutoHide feature hides the taskbar when empty, but if there is a taskbar item it’s not empty (BTW, you don’t need to add a button, you can simply add a TaskbarItem which is clickable.)
When the taskbar is automatically hidden or shown the Desktop raises the TaskbarVisibleChanged event and you can check the IsTaskbarVisible property to see if it’s hidden or shown.
You can set the taskbar size in a theme or setting the Desktop.TaskbarSize property. Aldo if you place a control on the desktop and anchor it or dock it, it’s automatically resized excluding the taskbar.
Also the taskbar can be placed in any of the 4 positions.
It is technically possible to use the taskbar widget without a deskop because Wisej has 2 window managers, one is the Desktop and the other is the default root widget. But the result would be kind of the same as a desktop.
HTH
Hi Page,
With the current build, setting ItemHeight doesn’t work (it was actually supposed to be hidden), but we added a new enhancement (#2293) that wires the inner ListViewItem row heights to the value of the ListViewComboBox’s ItemHeight.
With this enhancement you’ll be able to calculate exactly how many items you want to have visible in the DropDown by setting the ItemHeight and DropDownHeight properties accordingly.
The enhancement will be available in the next build!
HTH,
Levie
The separator has been renamed to Spacer, as documented.
The allowHtml is an optional argument that should be used by name (I’m not familiar with VB.NET but in C# you use allowHtml:true) regardless of the position. The default arguments have remained unchanged.
Autosizing or rows and columns was not implemented at all in 1.5 so the enumeration value that has been removed didn’t have any effect.
The overload issues that you reported are not related to Wisej, since it’s not a compiler.
The IsVisible property was misleading and was meant to be used internally since it was returning the internal raw VisibleInternal value. The Visible property returns whether the control or its parent are Visible. If a control has Visible = true but the parent has Visible = false when checking Visible on the control it returns false.
About the UserComboBox issue, please send a sample that we can run and I’ll be happy go over the specific issues. In the mean time I’ll try to reproduce.
I forgot to mention that I am running the latest release 2.1.70.
Hello Levie,
thank you for your reply and sorry for the delay.
I just tried to use the `Desktop.AutoHide` Feature, but I am afraid this does not work for us.
We placed a Button into TaskBarItemControl, that acts like a StartButton in windows and allows the user to logout and change to different views of the application.
I think because this element is always visible, the taskbar will never be hidden.
Additionally, we would need an event, that gets fired if the Taskbar disappears, so we can resize the remaining elements, that are located in the desktop. I think there is no event like that currently.
Do you think it will be possible to implement the Taskbar as its own Control rather than a component?
Hi Huynh,
yes, just set Alignment = Left and Orientation = Horizontal in your TabControl.
Best regards
Frank
Hi,
we noticed a separate issue with the MaskedTextBox. When you copy/paste a value from another application into the MaskedTextBox (a value that complies the Mask) it copies it over and appends the mask after the copied value. What it should do instead is override the Mask, like it would when manually typing the value in. Please see attached screenshot for clarification.
Thanks and best regards
Markus
Hi Markus,
Thanks for reporting the issue! I’ve logged it as #2292. Just out of curiosity, why do you need to escape the separator in the mask? Using “###.###.###” seems to work fine.
Best regards,
Levie
Hi Huỳnh,
There’s an issue with the clipboard dependency on the toolbar, so it’s causing issues when we remove it (hide the toolbar). I’ll create an issue for it in Wisej too.
https://github.com/ckeditor/ckeditor4/issues/654
It looks like people are using CSS to hide the toolbar in the meantime.
Add the following CSS to hide it:
.cke_top {
display: none;
}
HTH,
Levie
Hi Arturo,
If you’ve checked the web.config file and removed references to any previous licenses (wisej-server.lic) I would suggest sending an email to sales AT wisej.com with the license causing the issues!
Best regards,
Levie
Hi Huỳnh,
You have to add a handler for tool item clicks, so you can call that function and pass it in the tool item you want (see the attached screenshot).
The Wisej Button’s PerformClick() function does something similar in that it calls OnClick(EventArgs.Empty).
There is no JavaScript involved with this. You shouldn’t need any JavaScript unless you’ve specifically created some that handle click events on the client.
If you have, see this link:
https://www.w3schools.com/jsref/met_html_click.asp
HTH,
Levie
Hi Angelo,
Thanks for reporting the issue, I’ve logged it as #2288.
As a workaround, you can put Me.Close() before Me.Dispose() and it should work properly!
Best regards,
Levie
Hi Page,
Did you try setting the control’s anchor to “None”? This will keep the position in the center when the user resizes the control.
Is this what you’re after?
Let me know!
Best,
Levie
Hi Levie,
thank you for sample! There is only a problem, the lineheight button it is not visibile on toolbar
best
Cristian
Hi Page,
You can add a shadow with the Theme Builder (see the attached screenshot).
Just add the shadow styles to whichever control you want (note the shadow color is the “control” color from the theme).
You can also add custom css to the style by adding a “css” style property.
You can make this work as a mixin too.
Hope that helps!
Best regards,
Levie
