Forums

Release Notes
Last Post 26 Mar 2017 03:59 PM by Filip Dušek. 51 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author Messages
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:676


--
29 Sep 2014 09:15 AM
    v1.0.0.0

    Beta is over! Thanks everyone for help. This is the first public release.

    What's new:

    - Styles resources fixes and changes for release
    - Localization Service interface for MVVM
    - Message Box button localization. Texts moved to resources.
    - Fixed button issue on touch devices
    - Added default dictionary setter on Resource Dictionary class
    BamYaziUser is Offline
    New Member
    New Member
    Posts:42


    --
    29 Sep 2014 11:02 AM
    Congratulations on reaching V1, you've build a great piece of software here.
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    13 Oct 2014 01:10 PM
    v1.0.1.0
    - maintenance release
    - fixed bug in UI font generation - issue with culture
    - add ClearCache methods for Sound, Font and Image managers
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    15 Oct 2014 09:30 AM
    I really like the way this library looks, I'm gonna try and get started with it. Great job!
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    03 Nov 2014 12:18 PM
    v1.1.0.0
    - Value Converter attribute - custom Value converter for any class/struct/enum
    - ClickMode for Button - default value for Click Mode is Release, so Button is firing Click event after releasing now.
    - Password Box control - simple version of WPF Password Box control, remember that Password property can not be bind by design

    You can use ValueConverterAttribute on class/struct/enum to convert value from one type to other. This is useful for Data Binding.

    All Buttons are taking Focus on click. If you see any weird behavior of focused elements, please, report it.
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    01 Dec 2014 02:02 PM
    v1.2.0.0
    - fixed NumericBox buttons focus
    - fixed selected row stretch for ListBox and ComboBox
    - fixed ItemsControl not showing up values in some cases
    - fixed UI Generator issue with custom type on Data Template
    - fixed UI Generator issue with missing properties for ScrollViewer - HorizontalScrollBarVisibility and VerticalScrollBarVisibility
    - added support for binding Fallback value
    - added XmlIgnore attribute on IsDirty property of BindableBase class
    - fixed wrong calculation of layout for StackPanel in some cases
    - added content alignment feature for TabItem
    - fixed TabControl style - it supports border brush and thickness properly
    - fixed all (hopefully) clipping issues with new content clipping mechanism
    - added experimental support for binding in multi thread application
    - added more options for binding

    Multi thread support is simple mechanism, which won't let you change the value (with binding), while UI is rendering content. It will block any change of target value of binding expression and resume, when render is done. By default it's turned off and you can enable it by setting true on EnabledMultiThreadLocking property on UIRoot instance. Be careful, it's still not perfect. Use it only if you really have to do some changes to UI on different thread.

    Binding is much more powerful in this version. You can use more complicated paths now. "Multi level" path is now supported, including collections. For example

    <ListBox Grid.Row="1" ItemsSource="{Binding Path=SelectedBody.RareResources}" />
    
    <TextBlock Name="name" Text="{Binding Path=Collection[0]}" />
    


    You can use Fallback value too, but only primitive types (numbers, string etc.).
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    06 Dec 2014 12:49 PM
    Awesome that you added the passwordbox control! Thank you!
    Best GUI library for Monogame by FAR at the moment!
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    08 Dec 2014 04:18 PM
    You can't bind the Passwordbox Password property (this is not considered safe) so I manually create a property for it in the .xaml.cs class every time I build.
    Maybe this could be automated in the generator and referenced to in the tutorial?

    For example:

    private PasswordBox e_4;
    public string PasswordText { get { return e_4.Password; } } //I add this so I can access the password
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    08 Dec 2014 04:49 PM
    Yeah, I was thinking how to "hack" it for some optimal use. It's better if you use partial class like this ...

    namespace EmptyKeys.UserInterface.Generated
    {
        public partial class Something
        {
            public string Password
            {
                get
                {
                    return this.passwordBox.Password;
                }
            }
        }
    }
    


    Create new file for this partial code and give some Name to password box control in XAML so it's not auto generated and will not change.

    I will think about better solution for next release.
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    08 Dec 2014 05:28 PM
    How did I not think of that.. Cool thanks!
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    08 Dec 2014 11:19 PM
    Binding for ListBox is not working for me nothing shows up! What am I doing wrong?

    <ListBox ItemsSource="{Binding Path=Lobbies, Mode=TwoWay}" Name="lobbiesListBox" Margin="10,62,10,255"/>

    also tried

    <ListBox ItemsSource="{Binding Lobbies}" Name="lobbiesListBox" Margin="10,62,10,255"/>

    In the viewmodel:

    public ObservableCollection<string> Lobbies { get; set; }

    In the code:

    mainMenuUIViewModel.Lobbies.Add(lobbyName);
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    08 Dec 2014 11:44 PM
    You should use ViewModelBase base class for your view model class and SetProperty method for properties, which do you want to bind. So try ...

            private ObservableCollection<string> lobbies;
    
            public ObservableCollection<string> Lobbies 
            {
                get { return lobbies ; }
                set { SetProperty<ObservableCollection<string>>(ref lobbies, value); }
            }
    


    Be sure that you set DataContext. I usually set it on UIRoot instance.
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    09 Dec 2014 02:18 PM
    That worked for me, thanks!
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    05 Jan 2015 12:19 PM
    v1.3.0.0
    - Fixed Gradient Opacity brush issue
    - Fixed Border Thickness issue for button and repeat button
    - Fixed background for TextBlock
    - Some internal methods/classes are public now, so anyone can use them for creating custom control.
    - DependencyObjectType.FromSystemType method is public now
    - StyleHelper class is public now
    - StyleHelper.FindNameInTemplateContent method is public now
    - CommandHelper.ExecuteCommandSource method is public now
    - Fixed text wrapping issue in UI Generator
    - Updated FNA (MonoGameSDL2) version of library

    You can force text wrapping in XAML:
            <TextBlock Name="txtWrap1" TextWrapping="Wrap"  Height="457" VerticalAlignment="Top" HorizontalAlignment="Left" Width="780" Text="wrapText&amp;#x0a;text&amp;#x0a;text" />
            <TextBlock Name="txtWrap2" TextWrapping="Wrap"  Height="457" VerticalAlignment="Top" HorizontalAlignment="Left" Width="780" xml:space="preserve">
                wrapText
                text
                text
            </TextBlock>   
    


    LineBreak in XAML is not supported yet.
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    05 Jan 2015 03:26 PM
    Awesome new years present! Will test the text wrapping and the textblock background right away!
    KennyUser is Offline
    New Member
    New Member
    Posts:10


    --
    06 Jan 2015 01:22 AM
    Thanks for update !
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    02 Feb 2015 12:27 PM
    v1.4.0.0
    - Animations supported see HOW-TO for more info
    - Fixed Toggle button and style for it
    - Fixed Tab Control style and control template
    - Added Opacity for UIElement and fixed all opacity issues
    - faster data binding, performance changes
    - Foreground changed from Color type to Brush type
    - Fixed Hit Testing, it's much more like WPF now
    - Fixed Mouse Over events, this change comes with fixed Hit Testing
    - Added Stretch for Image Brush

    Opacity, Foreground and Hit Test changes can break your current UI. So be sure that you are not binding Color to Foreground and that you have not any invisible control somewhere, which would eat hit test. Opacity is working pretty much the same like in WPF.

    Let me know if you find any issue
    WompusUser is Offline
    New Member
    New Member
    Posts:34


    --
    02 Feb 2015 04:17 PM
    Awesome changes, the foreground brush change fixed the crash for me!
    This is really shaping up to be an awesome GUI library
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    02 Mar 2015 02:33 PM
    v1.5.0.0
    - Support for animations in images
    - Support for atlas textures/images
    - new AnimatedImage control
    - Viewbox and ViewboxUnits support for ImageBrush
    - Bindable Base DataContract attribute has IsReference set to true now
    - Support for LineBreak in TextBlock text (XAML)
    - Fixed Font Manager duplicity issue
    - Fixed Opacity generator issue
    - Fixed ComboBox padding
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:676


    --
    30 Mar 2015 02:33 PM
    1.6.0.0b
    - engine specific (MonoGame, SunBurn etc.) stuff refactored out of UI library
    - new Core library with base abstract classes and common code for UI and engine libraries
    - SunBurn, MonoGame and FNA engines supported
    - support for geometries and shapes (Rectangle, Ellipse in this release)
    - MonoGame 3.3 update
    - Canvas and DockPanel layout controls supported
    - Linear Gradient fixes and support for spread
    - Scroll Viewer action support so you can scroll in MVVM and binding

    Refactoring engine specific classes out of UI library was big change. I replaced all Vector2 types with Size/PointF, all enums with common ones and created new engine interface with abstract classes. Every MonoGame/SunBurn/FNA code is in separated assemblies. This change made UI lib code free of all #ifs and it's much more easier to test, because it's just ONE code.

    New geometry support is beta version. There are some issues for SunBurn Linux/MacOS. Only Rectangle and Ellipse geometries are supported.

    There is new support for scrolling in MVVM scenario. You can do it with new attached Action property (ek is designer namespace)

    <ScrollViewer Name="scrollViewer" Content="Scroll Content" ek:ScrollViewerHelper.Action="{Binding ScrollAction}" />
    
    You are not authorized to post a reply.
    Page 1 of 3123 > >>