Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 16 22:33

    punker76 on develop

    (#4157) Fix BindingExpression e… Run XamlStyler Use Cake.Tool and 3 more (compare)

  • Oct 16 22:33
    punker76 closed #4195
  • Oct 16 22:33
    punker76 closed #4157
  • Oct 16 22:24
    punker76 synchronize #4195
  • Oct 16 22:24

    punker76 on 4157

    Remove Explicit static construc… (compare)

  • Oct 16 22:00
    punker76 synchronize #4195
  • Oct 16 22:00

    punker76 on 4157

    Add GitHub action (compare)

  • Oct 16 21:03

    punker76 on XamlCombine

    (compare)

  • Oct 16 21:03
    punker76 synchronize #4195
  • Oct 16 21:03

    punker76 on 4157

    Use Cake.Tool (compare)

  • Oct 16 21:03

    punker76 on 4157

    (compare)

  • Oct 16 20:59
    punker76 labeled #4195
  • Oct 16 20:59
    punker76 opened #4195
  • Oct 16 20:55

    punker76 on 4157

    (#4157) Fix BindingExpression e… Run XamlStyler Use Cake.Tool (compare)

  • Oct 16 20:51
    punker76 closed #4191
  • Oct 16 20:40
    AppVeyorBot commented #4191
  • Oct 16 20:35
    punker76 synchronize #4191
  • Oct 16 20:35

    punker76 on 4157

    Try GitHub action (compare)

  • Oct 16 20:07
    AppVeyorBot commented #4191
  • Oct 16 20:02
    punker76 synchronize #4191
Aura09c
@Aura09c

Hello i am starting out this one project and some of the parts are really complicated . And i am happy to learn during the complicated parts. But i feel i need more people. If anyone is interested in working together and learning together feel free to dm me

my discord is Aura#5549

Roy
@Roypy
@TripleNico Thanks I just took a look at it.
cod3rshotout
@cod3rshotout
I'm using the last mahapp version, how can I style the TabControl as Visual Studio? Do you have any example?
Tim
@timunie
Hi @cod3rshotout do you have the sample App?
cod3rshotout
@cod3rshotout
@Tim which sample app?
Tim
@timunie
MahApps
There is a VS demo
cod3rshotout
@cod3rshotout
@Tim could you send me the link?
Best is to clone the repro and start exploring πŸ™‚
In the code you will find the demos and original styles
cod3rshotout
@cod3rshotout
@Tim which file?
Good night
cod3rshotout
@cod3rshotout
@Tim in the latest version of MahApp I doesn't have this Visual Studio style
Tim
@timunie
@cod3rshotout you need to add it explicitly in merged dictionary like shown in the sample I send you (line 18)
cod3rshotout
@cod3rshotout

@timunie ok, thanks. I switched to dragablz component but I have a problem changing the palette. I have created a pastebin which contains all the code that I wrote:

https://pastebin.com/AEK3ADUU

the issue is that when I change the theme, this is applied correctly to all components except to dragablz, how is that possible?

Tim
@timunie
Dragablz has it's own
Styles so MahApps styles are not used there
I cannot support you with this. You will have to write your own if you need a special Style. Sorry.
cod3rshotout
@cod3rshotout
@timunie thanks, what is the method to set dark or light mode? I see this: ControlzEx.Theming.ThemeManager.Current.ChangeThemeBaseColor
but for other windows isn't applied
cod3rshotout
@cod3rshotout
what is the correct way to set light and dark?
this method doesn't exists anymore: SetLightDark
Gary Ewan Park
@gep13
Twitter Tweets
@mrjakepavek_gitlab
image.png
Does anyone know why i'm getting this?
Jan Karger ツ β˜€
@punker76
@mrjakepavek_gitlab You don't need to use mah:StaticResource, use DynamicResource instead.
Twitter Tweets
@mrjakepavek_gitlab
that would be it, thank you!
Tim
@timunie
Jan Karger ツ β˜€
@punker76

@/all #IconPacks v4.9.0 has just been released πŸŽ‰πŸ‘β€πŸ€˜

Lots of new and updated icons including .NET 5 support.

https://github.com/MahApps/MahApps.Metro.IconPacks/releases

@/all The #IconPacks browser for MahApps.Metro.IconPacks has now it's own repo πŸŽ‰πŸ‘πŸ€˜

https://github.com/MahApps/IconPacks.Browser

iconpacks_browser_new.gif
Torchok19081986
@Torchok19081986
πŸ‘πŸ˜ƒπŸŽ‰
Rohan D'Sa
@goldcode
soo cool! Thanks. I don't have to use inkscape to convert to svg anymore. Any chance of converting to ico too?
Tim
@timunie
@goldcode ico files are a bit special here because there are different options for scaling. I use to save as bmp file for the resulutions I like and use gimp to save as ico.
ikeas68
@ikeas68
hello is solution exist for preserv virtualization in listview when grouping is set
for setting virtualization i use Style="{DynamicResource VirtualisedMetroListView}" but when i have a goup inside like :
var view = CollectionViewSource.GetDefaultView(CompEntrys);
PropertyGroupDescription groupDescription = new PropertyGroupDescription("Directory");
view.GroupDescriptions.Add(groupDescription);
i lost virtalization
Tim
@timunie
Hi @ikeas68 you need to set VirtualizationPanel.VirtualizeWhenGrouping=true
Maybe I have a typo in the above because I am on mobile today.
Happy coding
Tim
ikeas68
@ikeas68
i try this VirtualizationPanel.VirtualizeWhenGrouping=true but same result ...
Jan Karger ツ β˜€
@punker76
@ikeas68 Which version of MahApps are you using?
ikeas68
@ikeas68
@punker76 version 1.6.5.1
Jan Karger ツ β˜€
@punker76
@ikeas68 Oh yeah, very old, the problem should definitiv be fixed in v2.
Here is the one for v1.6.5
    <Style x:Key="MetroListView" TargetType="{x:Type ListView}">
        <Setter Property="AlternationCount" Value="2" />
        <Setter Property="Background" Value="{DynamicResource WhiteBrush}" />
        <Setter Property="BorderBrush" Value="{DynamicResource BlackBrush}" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="ScrollViewer.CanContentScroll" Value="False" />
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListView">
                    <Border x:Name="Border"
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            CornerRadius="{TemplateBinding mah:ControlsHelper.CornerRadius}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <ScrollViewer Padding="{TemplateBinding Padding}"
                                      CanContentScroll="{TemplateBinding ScrollViewer.CanContentScroll}"
                                      Focusable="False"
                                      HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
                                      SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                      Style="{DynamicResource MetroGridViewScrollViewerStyle}"
                                      VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}">
                            <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
                        </ScrollViewer>
                    </Border>
                    <ControlTemplate.Triggers>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsGrouping" Value="true" />
                                <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false" />
                            </MultiTrigger.Conditions>
                            <Setter Property="ScrollViewer.CanContentScroll" Value="false" />
                        </MultiTrigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource GrayBrush9}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="VerticalContentAlignment" Value="Center" />
    </Style>

    <Style x:Key="VirtualisedMetroListView"
           BasedOn="{StaticResource MetroListView}"
           TargetType="{x:Type ListView}">
        <Setter Property="ScrollViewer.CanContentScroll" Value="True" />
        <Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="True" />
        <Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True" />
        <Setter Property="VirtualizingStackPanel.IsVirtualizingWhenGrouping" Value="True" />
        <Setter Property="VirtualizingStackPanel.VirtualizationMode" Value="Recycling" />
    </Style>
ikeas68
@ikeas68
ok thanks i try it
ikeas68
@ikeas68
@punker76 ok it's work fine tanhks
Torchok19081986
@Torchok19081986
morning, how can i set Metrowindow Style to WindowStyle="None" ? Somehow it doesnt work for me.
Jan Karger ツ β˜€
@punker76
@Torchok19081986 You must use UseNoneWindowStyle property, because the WindowStyle is already None