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
Plugin Development
Calling a method within the Model once the Screen has completed loading
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="morpheus_xx" data-source="post: 978362" data-attributes="member: 48495"><p>Hi @<a href="https://forum.team-mediaportal.com/members/valk.18631/" target="_blank">Valk</a>,</p><p> </p><p>did you push your changes already, so I can take a look at it? I don't fully understand the problem yet.</p><p> </p><p></p><p>Are you talking about Titanium skin? If you look at Titanium\screens\master_menu.xaml you'll find:</p><p>[CODE=XML] <Grid.Triggers></p><p> <!-- Setting default state of menu to hidden --></p><p> <EventTrigger RoutedEvent="Screen.Show"></p><p> <TriggerCommand Command="{Command Source={StaticResource MenuModel}, Path=CloseMenu}"/></p><p> </EventTrigger></p><p> </p><p> <!-- Slide-In animation when the MenuModel.ShowMenu gets true --></p><p> <DataTrigger Binding="{Binding Source={StaticResource MenuModel},Path=IsMenuOpen}" Value="True"></p><p>[/code]</p><p>On "Screen.Show" event the "CloseMenu" is invoked, it will hide the menu. Hiding itself is done in DataTrigger.</p><p> </p><p>Morpheus</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 978362, member: 48495"] Hi @[URL='https://forum.team-mediaportal.com/members/valk.18631/']Valk[/URL], did you push your changes already, so I can take a look at it? I don't fully understand the problem yet. Are you talking about Titanium skin? If you look at Titanium\screens\master_menu.xaml you'll find: [CODE=XML] <Grid.Triggers> <!-- Setting default state of menu to hidden --> <EventTrigger RoutedEvent="Screen.Show"> <TriggerCommand Command="{Command Source={StaticResource MenuModel}, Path=CloseMenu}"/> </EventTrigger> <!-- Slide-In animation when the MenuModel.ShowMenu gets true --> <DataTrigger Binding="{Binding Source={StaticResource MenuModel},Path=IsMenuOpen}" Value="True"> [/code] On "Screen.Show" event the "CloseMenu" is invoked, it will hide the menu. Hiding itself is done in DataTrigger. Morpheus [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Calling a method within the Model once the Screen has completed loading
Contact us
RSS
Top
Bottom