Beta 9.3 of C#/XAML for HTML5 released

JS-Support
Site Admin
Posts: 740
Joined: Tue Apr 08, 2014 3:42 pm

Beta 9.3 of C#/XAML for HTML5 released

Postby JS-Support » Sun Sep 18, 2016 10:14 am

Dear CSHTML5 users and forum members,

We are pleased to inform you that the Beta 9.3 of CSHTML5 is available for download!


You will find it in the "Attachments" section after this message.



New Features and bug fixes since Beta 9.2 include:

  • Support for ToolTips!

    Code: Select all

    <Button Content="Button with text ToolTip inline" HorizontalAlignment="Center"
            ToolTipService.ToolTip="This is the ToolTip" />
           
    <Button Content="Button with image ToolTip as direct child" HorizontalAlignment="Center" >
        <ToolTipService.ToolTip>
            <Image Source="ms-appx:/Images/Logo1.png" Width="100" Height="100" Stretch="Fill"/>
        </ToolTipService.ToolTip>
    </Button>

    <Button Content="Button with image ToolTip normal" HorizontalAlignment="Center" >
        <ToolTipService.ToolTip>
            <ToolTip>
                <Image Source="ms-appx:/Images/Logo1.png" Width="100" Height="100" Stretch="Fill"/>
            </ToolTip>
        </ToolTipService.ToolTip>
    </Button>

  • Support for ContextMenu and MenuItem! (non-hierarchical)

    Code: Select all

    <Border CornerRadius="5" Background="LightGray" Padding="10" HorizontalAlignment="Left">
        <Border.ContextMenu>
            <ContextMenu>
                <MenuItem Header="Menu Item without icon" Click="MenuItem1_Click"/>
                <MenuItem Header="Menu Item with icon" Click="MenuItem2_Click">
                    <MenuItem.Icon>
                        <Image Source="ms-appx:/Images/Logo1.png" Width="20" Height="20" Stretch="Fill"/>
                    </MenuItem.Icon>
                </MenuItem>
            </ContextMenu>
        </Border.ContextMenu>
        <TextBlock Text="Right-click to display the menu"/>
    </Border>

  • Support for right-click ("RightTapped" event)
  • Support for ClipToBounds property (like in WPF) that crops the content of a control that exceeds its boundaries
  • Fixed an issue that caused the native ComboBox to not be properly initialized
  • Support for more overloads of Linq methods: Contains, GroupBy, Intersect, Aggregate, Min, Max
  • Support for StringSplitOptions in String.Split
  • Improved the default Height of a TextBox
  • Improved behavior of MinHeight when applied to TextBox
  • Popups now have the ability to be transparent to clicks (by setting popup.IsHitTestVisible=false)
  • Line, Rectangle, and Ellipse are no longer "sealed" classes
  • Fixed XAML preview when a ChildWindow had one of the following properties or events: Closed, Closing, OverlayBrush, OverlayOpacity.
  • Fixed the exception when setting PointerEntered without setting PointerExited events

2016_09_19_cshtml5_tooltips_and_context_menu.png
2016_09_19_cshtml5_tooltips_and_context_menu.png (9.45 KiB) Viewed 1504 times



If you didn't read about the previous Beta 9.1 and 9.2, you can read the list of features and bug fixes that were introduced at the following URL:
http://forums.cshtml5.com/viewtopic.php?f=6&t=7497


Notes about installation:
  • Before installing this update, it is recommended that you close all the open instances of Visual Studio.
  • If for some reason you need to revert to the previous Beta, simply uninstall this one (from the Control Panel) and reinstall the previous Beta.



We hope you will enjoy this build!

If you find any issues, please post them on the forums or send an email to support@cshtml5.com

Thank you.
Regards,
JS-Support
Attachments
CSharpXamlForHtml5_v1_0_public_beta9_3.zip
(21.88 MiB) Downloaded 65 times

Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

Re: New Beta 9.3 released! [Download]

Postby Sesztak » Sun Sep 18, 2016 12:49 pm

Thanks for it.

zemorango
Posts: 35
Joined: Tue Feb 02, 2016 6:30 am

Re: New Beta 9.3 released! [Download]

Postby zemorango » Mon Sep 19, 2016 1:10 am

Great jobs,
this tool i getting better and better :P soon I will put some links with small apps that I've being doing :D

JS-Support
Site Admin
Posts: 740
Joined: Tue Apr 08, 2014 3:42 pm

Re: New Beta 9.3 released! [Download]

Postby JS-Support » Mon Sep 19, 2016 1:40 am

@Sesztak: thanks to you for your support

zemorango wrote:Great jobs,
this tool i getting better and better :P soon I will put some links with small apps that I've being doing :D

@zemorango: thanks! Can't wait to see your apps!

labbr01
Posts: 6
Joined: Fri Jul 17, 2015 10:20 am

Re: Beta 9.3 of C#/XAML for HTML5 released

Postby labbr01 » Thu Oct 06, 2016 5:40 am

TooltipServic.ToolTip does not seems to work using binding to get tooltip text value:

<Button x:Name="BtnFondCarte" Click="BtnFondCarte_Click" Height="34" ToolTipService.ToolTip="{Binding Path=BtnFondCarte_Tool}">
<Image x:Name="FondCarte" Height="32" Width="32" Source="ms-appx://Env.Atlas.Iu/Images/32/Basemap32.png"></Image>
</Button>

I got this error:
Erreur 1 C#/XAML for HTML5: XamlPreprocessor (pass 2) failed: Property "ToolTipService" not found in type "Windows.UI.Xaml.Controls.Button". Note: the XAML editor sometimes raises errors that are misleading. To see only real non-misleading errors, make sure to close all the XAML editor windows/tabs before compiling. C:\DMU\AtlasWeb\Env.Atlas.Iu\Menu\MenuVerticalDonnees.xaml 13 Env.Atlas.Iu

If i change tooltip to string in XAML:
<Button x:Name="BtnFondCarte" Click="BtnFondCarte_Click" Height="34" ToolTipService.ToolTip="This is a ToolTip">
<Image x:Name="FondCarte" Height="32" Width="32" Source="ms-appx://Env.Atlas.Iu/Images/32/Basemap32.png"></Image>
</Button>
ToolTip compile and work.

Using Resources, Binding or Converter would be appreciated with tooltip in order to support language selection.

Bruno

JS-Support
Site Admin
Posts: 740
Joined: Tue Apr 08, 2014 3:42 pm

Re: Beta 9.3 of C#/XAML for HTML5 released

Postby JS-Support » Thu Oct 06, 2016 8:08 am

labbr01 wrote:TooltipServic.ToolTip does not seems to work using binding to get tooltip text value


Thanks for reporting this issue. We are going to fix it asap.

Regards,
JS-Support

Amrutha
Posts: 21
Joined: Tue Nov 15, 2016 5:10 am

Re: Beta 9.3 of C#/XAML for HTML5 released

Postby Amrutha » Mon Jan 30, 2017 5:29 am

Hello Team,

Is the feature ToolTipService.ToolTip for binding fixed?

Eg: ToolTipService.ToolTip="{Binding SelectedValue.LocalTimeZones_Name, ElementName=CmbTimeZone}"

Thanks,
-A


Return to “Pre-Releases, Downloads and Announcements”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron