Comments (10)
Could you send me a sample which demonstrates your usage?
Then i can include it in the showcase application to avoid such issues in the future.
from fluent.ribbon.
The following is enough to create a fancy window merging MahApps and Fluent
<Metro:MetroWindow x:Class="XPTO.Views.MainWindowView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
xmlns:Metro="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:Dialog="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:cal="http://www.caliburnproject.org"
Fluent:RibbonProperties.TitleBarHeight="0"
Style="{DynamicResource CleanWindowStyleKey}"
GlowBrush="{DynamicResource AccentColorBrush}"
ShowIconOnTitleBar="False"
ShowTitleBar="True"
WindowStartupLocation="CenterScreen"
Title="{Binding Path=NomeAplicacao}"
Height="506"
Width="828"
x:Name="MainWindow"
TitleCaps="False"
cal:Message.Attach="[Event Closing] = [Action Close($eventArgs,$view)]"
WindowState="Maximized"
>
However i now have 2 title bars (one from MahApps and other from Fluent)
I can create a sample project if required
Thanks
from fluent.ribbon.
hi batzen.
any news? can i help on something to speed things up?
from fluent.ribbon.
No news so far other than i'm too busy to work on this project currently. Maybe i can find some time this weekend.
from fluent.ribbon.
sure, totally understandable. thanks for the update
from fluent.ribbon.
I just noticed that you got the office user dropdown in your application, would you mind sharing the code for that? Someone else asked for that feature a while back.
from fluent.ribbon.
pretty sure it was me who asked that :P
https://fluent.codeplex.com/discussions/546793
here is my code although all the issues i had to begin with are still there
<Fluent:DropDownButton
Header="{Binding HeaderUtilizadorNome}"
IsEnabled="True"
Fluent:RibbonProperties.Size="Middle"
VerticalAlignment="Top" Margin="0,0,10,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--<Rectangle Width="75" Height="75" Margin="10,10,10,5" Grid.Column="0" Fill="Gray" />-->
<!--<Image Width="75" Height="75" Margin="10,10,10,5" Grid.Column="0" Source="/Resources/user_blank.png" Stretch="Fill" Cursor="Cross"/>-->
<Rectangle Width="65"
Grid.Column="0"
Grid.Row="0"
Height="65"
Margin="5,5,5,5"
>
<Rectangle.Fill>
<VisualBrush Stretch="Fill" Visual="{DynamicResource appbar_user}" />
</Rectangle.Fill>
</Rectangle>
<StackPanel Grid.Column="1" Grid.Row="0">
<Label Content="{Binding HeaderUtilizadorNome}" FontWeight="Bold" FontSize="18" Margin="0,10,0,0" ></Label>
<Label Content="{Binding HeaderUtilizadorEmail}" FontSize="12" ></Label>
</StackPanel>
<StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" >
<Separator/>
<Label Content="Definições da Conta"
Margin="10,0,0,0"
Cursor="Hand"
Foreground="Gray"
Style="{StaticResource HoverUnderlineLabelStyle}"
/>
</StackPanel>
<StackPanel Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2">
<Separator />
<Label Content="Mudar de Conta"
Margin="10,0,0,5"
Cursor="Hand"
Foreground="Gray"
Style="{StaticResource HoverUnderlineLabelStyle}"
>
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseDown">
<cal:ActionMessage MethodName="SistemaReentrarComo">
<cal:Parameter Value="{Binding ElementName=MainWindow}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Label>
</StackPanel>
</Grid>
</Fluent:DropDownButton>
from fluent.ribbon.
Nice it was you. Couldn't connect your usernames ;-)
This issue was fixed a few minutes ago. Will close this one as soon as i made sure that package restore works correctly, as i am now using the MahMetro nuget package to implement the compatibility test window in the showcase application.
from fluent.ribbon.
thanks batzen.
i can test it as soon as 3.3.0 is released :)
from fluent.ribbon.
Will close this as i integrated the MahMetro sample and it looks good.
Feel free to open this issue again after you tested 3.3.0 and found any remaining issues regarding the integration with MahMetro.
from fluent.ribbon.
Related Issues (20)
- ScreenTip is not DPI aware HOT 6
- The first item is highlighted when DropDown is opened by mouse interaction in DropDownButton and SplitButton HOT 6
- BackstageTabControl BackButton no animation when mouse hover HOT 1
- add new ribbon style HOT 1
- Ribbon scrolling on touch screen HOT 5
- RibbonComboBox cannot be customized based on the original RibbonComboBox style
- Padding and BorderBrush of the gallery control do not work
- MenuItems, having a submenu, do not stay highlighted when MenuItem from the submenu is highlighted HOT 1
- LauncherIcon not rendered correctly and items in QAT can be removed from QAT in it's popup HOT 1
- Button Icon HOT 3
- Text not disapearing HOT 2
- StartScreen is opening the first time only HOT 1
- Popup of DropDownButton/SplitButton has unwanted MinHeight HOT 4
- fluent.ribbon is missing NuGet package README file
- wpf calendar size issu in dropdown button HOT 2
- Port for Avalonia HOT 1
- Fluent 11 Quick Access panel HOT 1
- GroupName causes the selected ToggleButton to no longer trigger the click event HOT 2
- Using the Fluent.Ribbon with Prism HOT 1
- Fluent:Button Size Middle not working anymore HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent.ribbon.