home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Titanium Extended
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1165648" data-attributes="member: 145639"><p>Thanks, tried that.</p><p>I could meanwhile make the menu slide out by storyboard, but then the menu content has no focus and is not selecteable.</p><p>In next step I tried to pack the "command" of the toggle button into a "Eventtrigger", "Datatrigger" and "Triggers". Nothing is working. I think the even a command is allocated, it still is executed only on a click on a button <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> Hard to believe, that a command can not be executed on focus.</p><p></p><p>[CODE=XML] <Button x:Name="MenuShowButton" Content="Menu" Style="{ThemeResource ButtonWideStyle_GrowOnly}"</p><p> Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Height="180" Margin="25,0,-29,0"</p><p> Command="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}"></p><p> <Image Source="hiddenmenu_tab.png" /></p><p> <Button.Triggers></p><p> <Trigger Property="HasFocus" Value="True"></p><p> <Setter Property="Command" Value="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}" /></p><p> </Trigger></p><p> </Button.Triggers></p><p> </Button>[/CODE]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1165648, member: 145639"] Thanks, tried that. I could meanwhile make the menu slide out by storyboard, but then the menu content has no focus and is not selecteable. In next step I tried to pack the "command" of the toggle button into a "Eventtrigger", "Datatrigger" and "Triggers". Nothing is working. I think the even a command is allocated, it still is executed only on a click on a button :( Hard to believe, that a command can not be executed on focus. [CODE=XML] <Button x:Name="MenuShowButton" Content="Menu" Style="{ThemeResource ButtonWideStyle_GrowOnly}" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Height="180" Margin="25,0,-29,0" Command="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}"> <Image Source="hiddenmenu_tab.png" /> <Button.Triggers> <Trigger Property="HasFocus" Value="True"> <Setter Property="Command" Value="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}" /> </Trigger> </Button.Triggers> </Button>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Titanium Extended
Contact us
RSS
Top
Bottom