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
Plugin support
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: 1134397" data-attributes="member: 145639"><p>If I understood you correctly I did so. I'm only working in the Bluevision skin folder of OV2 plugin.</p><p></p><p>In ovsSiteMangement.xaml there is this code (and I see the logo in the options view):</p><p>[html] <Image DockPanel.Dock="Right" Stretch="Uniform" VerticalAlignment="Top"</p><p> Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/>[/html]</p><p></p><p>I tried to copy exactly the same code to sites.xaml and it does not show a logo. I considered the resources as you see below in the complete code of sites.xaml:</p><p>[html]<?xml version="1.0" encoding="utf-8"?></p><p><Include</p><p> xmlns="www.team-mediaportal.com/2008/mpf/directx"</p><p> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"</p><p> xmlns:ovs="clr-namespace:OnlineVideos.MediaPortal2;assembly=OnlineVideos.MediaPortal2"</p><p> Source="screens\master_bare.xaml"></p><p> <Include.Resources></p><p></p><p> <Model x:Key="OnlineVideosModel" Id="C418243F-5BD3-4637-8871-DA6545387929"/></p><p> <ovs:SiteUtilIconConverter x:Key="ovsSiteUtilIconConverter"/></p><p></p><p> <!-- Contents --></p><p> <ControlTemplate x:Key="Client_Template"></p><p> <DockPanel DataContext="{Binding Source={StaticResource OnlineVideosModel}}" LastChildFill="true"></p><p></p><p> <ListView x:Name="siteslist" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DockPanel.Dock="Center"</p><p> Style="{ThemeResource ovsSitesListViewStyle}" Margin="-30, 0,-45,-5"</p><p> CurrentItem="{Binding Path=FocusedSite, Mode=OneWayToSource}"</p><p> ItemsSource="{Binding Path=SitesList}" SetFocusPrio="RestoreState"/></p><p></p><p> <StackPanel Orientation="Vertical" DockPanel.Dock="Center" VerticalAlignment="Bottom" Margin="0,625,0,-625" ></p><p></p><p> <Image Stretch="Uniform" VerticalAlignment="Top"</p><p> Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/></p><p></p><p> <Label Color="{ThemeResource TextColor}"</p><p> HorizontalAlignment="Stretch" VerticalAlignment="Stretch"</p><p> DataContext="{Binding ElementName=siteslist,Path=CurrentItem}" Content="{Binding Path=Name}" /></p><p> <Label Color="{ThemeResource TextColor}" Opacity="0.6"</p><p> HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Wrap="True" Scroll="Auto"</p><p> DataContext="{Binding ElementName=siteslist,Path=CurrentItem}"</p><p> Content="{Binding Description}" /></p><p> </p><p> </StackPanel></p><p></p><p> </DockPanel></p><p> </ControlTemplate></p><p> </Include.Resources></p><p></Include>[/html]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1134397, member: 145639"] If I understood you correctly I did so. I'm only working in the Bluevision skin folder of OV2 plugin. In ovsSiteMangement.xaml there is this code (and I see the logo in the options view): [html] <Image DockPanel.Dock="Right" Stretch="Uniform" VerticalAlignment="Top" Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/>[/html] I tried to copy exactly the same code to sites.xaml and it does not show a logo. I considered the resources as you see below in the complete code of sites.xaml: [html]<?xml version="1.0" encoding="utf-8"?> <Include xmlns="www.team-mediaportal.com/2008/mpf/directx" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ovs="clr-namespace:OnlineVideos.MediaPortal2;assembly=OnlineVideos.MediaPortal2" Source="screens\master_bare.xaml"> <Include.Resources> <Model x:Key="OnlineVideosModel" Id="C418243F-5BD3-4637-8871-DA6545387929"/> <ovs:SiteUtilIconConverter x:Key="ovsSiteUtilIconConverter"/> <!-- Contents --> <ControlTemplate x:Key="Client_Template"> <DockPanel DataContext="{Binding Source={StaticResource OnlineVideosModel}}" LastChildFill="true"> <ListView x:Name="siteslist" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DockPanel.Dock="Center" Style="{ThemeResource ovsSitesListViewStyle}" Margin="-30, 0,-45,-5" CurrentItem="{Binding Path=FocusedSite, Mode=OneWayToSource}" ItemsSource="{Binding Path=SitesList}" SetFocusPrio="RestoreState"/> <StackPanel Orientation="Vertical" DockPanel.Dock="Center" VerticalAlignment="Bottom" Margin="0,625,0,-625" > <Image Stretch="Uniform" VerticalAlignment="Top" Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/> <Label Color="{ThemeResource TextColor}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataContext="{Binding ElementName=siteslist,Path=CurrentItem}" Content="{Binding Path=Name}" /> <Label Color="{ThemeResource TextColor}" Opacity="0.6" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Wrap="True" Scroll="Auto" DataContext="{Binding ElementName=siteslist,Path=CurrentItem}" Content="{Binding Description}" /> </StackPanel> </DockPanel> </ControlTemplate> </Include.Resources> </Include>[/html] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Plugin support
Contact us
RSS
Top
Bottom