Skip to content

GridSplitter Hide Column #6773

Discussion options

You must be logged in to vote

I have resolved.

I create this Behavior

namespace Grid_IsVisible_Issue.Behaviors
{
    static class ColumnDefinition
    {
        private readonly static Avalonia.Controls.GridLength ZeroWidth = 
           new Avalonia.Controls.GridLength(0,Avalonia.Controls.GridUnitType.Pixel);

        private readonly static AttachedProperty<Avalonia.Controls.GridLength?> LastWidthProperty =
            AvaloniaProperty.RegisterAttached<Avalonia.Controls.ColumnDefinition, Avalonia.Controls.GridLength?>("LastWidth"
                , typeof(ColumnDefinition)
                , default );

        public readonly static AttachedProperty<bool> IsVisibleProperty =
             AvaloniaProperty.RegisterAtta…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@workgroupengineering
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by workgroupengineering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants