These are chat archives for AvaloniaUI/Avalonia

Jan 2017
Steven Kirk
Jan 19 2017 22:24
hey @jkoritzinsky apologies again for the delay on checking out your PR - i got to SF and have been dog sick. starting to feel a bit better now, so will try to review asap
Jeremy Koritzinsky
Jan 19 2017 22:35
@grokys Don't worry about it. It's more important to get healthy than review my PR haha
Jan 19 2017 23:22
@grokys I'm having problems with {Static } inside a template
trying to improve tab control a little
<Styles xmlns:local="clr-namespace:undiscloved.namespace" xmlns="">
    <Style Selector="local|DocumentTabControl">
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Focusable" Value="True" />
        <Setter Property="Template">
                    <StackPanel DockPanel.Dock="Top">
                        <TabStrip Name="strip"  Items="{TemplateBinding Items}"  SelectedIndex="{TemplateBinding SelectedIndex, Mode=TwoWay}" ItemTemplate="{TemplateBinding HeaderTemplate}">
                                    <DockPanel  LastChildFill="false" />

                        <ContentControl Content="{TemplateBinding HeaderSeperatorContent}" />

                    <Carousel Items="{TemplateBinding Items}" SelectedIndex="{TemplateBinding Path=SelectedIndex}" MemberSelector="{Static local:DocumentTabControl.ContentSelector}" IsVirtualized="false" />
can you see the MemberSelector
Static doenst seem to accept any namespace other than the local one
or is there a different syntax for this?
Steven Kirk
Jan 19 2017 23:31
hmm no there shouldn't be. you should be able to debug into however to debug
Jan 19 2017 23:52
ok cheers