Hi guys I am working on a Project and i got into an issue i Cannot solve it by myself.So if anyone know what should i do To Fix that Please help me .
This is My problem
Severity Code Description Project File Line Suppression State
Error CS0266 Cannot implicitly convert type 'object' to 'Windows.UI.Xaml.Input.PointerEventHandler'. An explicit conversion exists (are you missing a cast?) -
<Page
-
x:Class="App5.MainPage"
-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-
xmlns:local="using:App5"
-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-
mc:Ignorable="d" Height="789.943" Width="1358.686">
-
-
<Grid x:Name="Background_Grid" Margin="0,0,10,0">
-
<Grid.Background>
-
<ImageBrush ImageSource="Assets/Blue_Background.jpg" Stretch="Fill"/>
-
</Grid.Background>
-
<Image x:Name="image" HorizontalAlignment="Left" Height="100" Margin="161,658,0,0" VerticalAlignment="Top" Width="100"/>
-
<Image x:Name="image_Copy" HorizontalAlignment="Left" Height="100" Margin="161,658,0,0" VerticalAlignment="Top" Width="100"/>
-
<Image x:Name="image_Copy1" HorizontalAlignment="Left" Height="100" Margin="190,658,0,0" VerticalAlignment="Top" Width="100"/>
-
<Image x:Name="Ane_Jpg1" HorizontalAlignment="Left" Height="100" Margin="261,658,0,0" VerticalAlignment="Top" Width="71" Source="Assets/Ao-no-Exorcist.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="Aot_Jpg" HorizontalAlignment="Left" Height="100" Margin="362,658,0,0" VerticalAlignment="Top" Width="71" RenderTransformOrigin="-2.217,-0.924" Source="Assets/Attack-On-Titan.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="Ane_Jpg" HorizontalAlignment="Left" Height="100" Margin="458,658,0,0" VerticalAlignment="Top" Width="71" Source="Assets/Ao-no-Exorcist.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="Bleach_Jpg" HorizontalAlignment="Left" Height="100" Margin="563,658,0,0" VerticalAlignment="Top" Width="71" RenderTransformOrigin="0.674,-0.558" Source="Assets/Bleach.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="Bnh_Jpg" HorizontalAlignment="Left" Height="100" Margin="678,658,0,0" VerticalAlignment="Top" Width="71" RenderTransformOrigin="1.496,0.858" Source="Assets/Boku-No-Hero.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<TextBlock x:Name="Title" HorizontalAlignment="Left" Margin="413,32,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="218" Width="637" FontSize="48" TextAlignment="Center">
-
<TextBlock.Foreground>
-
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
-
<GradientStop Color="Black" Offset="0"/>
-
<GradientStop Color="#FFECF0EC" Offset="1"/>
-
</LinearGradientBrush>
-
</TextBlock.Foreground>
-
<Run Text="Enjoy the Presentation "/>
-
<LineBreak/>
-
<Run Text="And The Music As Well"/>
-
<LineBreak/>
-
<Run Text=":)"/>
-
</TextBlock>
-
<Image x:Name="Dbs_Jpg1" HorizontalAlignment="Left" Height="100" Margin="798,658,0,0" VerticalAlignment="Top" Width="71" Source="Assets/DBS.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="image1" HorizontalAlignment="Left" Height="100" Margin="908,658,0,0" VerticalAlignment="Top" Width="71" Source="Assets/Naruto.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<Image x:Name="TG_Jpg" HorizontalAlignment="Left" Height="100" Margin="1011,658,0,0" VerticalAlignment="Top" Width="71" RenderTransformOrigin="-0.05,0.02" Source="Assets/Tokyo-Ghoul.jpg" PointerEntered="OnSelectPictureHandler"/>
-
<MediaElement x:Name="Song_1" HorizontalAlignment="Left" Height="100" Margin="1150,537,0,0" VerticalAlignment="Top" Width="100" Source="Assets/K - Project - Hope Of Mornin.mp3" RealTimePlayback="True" AutoPlay="False" PlayToPreferredSourceUri="Assets/U2 - Raised By Wolves (Official Fan Video).mp3" AreTransportControlsEnabled="True" PosterSource="Assets/Attack-On-Titan.jpg"/>
-
<MediaElement x:Name="mediaElement" HorizontalAlignment="Left" Height="100" Margin="1150,397,0,0" VerticalAlignment="Top" Width="100" Source="Assets/U2 - Raised By Wolves (Official Fan Video).mp3" AreTransportControlsEnabled="True" AutoPlay="False" PosterSource="Assets/Tokyo-Ghoul.jpg"/>
-
-
</Grid>
-
</Page>
1 3405 Frinavale 9,735
Recognized Expert Moderator Expert
Do you have a OnSelectPictureHandler implemented?
Have you considered using animations and tirggers for mouse over events instead?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Anita C |
last post by:
I have the foll. code to update the value of an attribute:
xmlDocument.Load("abc.xml");
XmlAttribute xmlAttrib = xmlDocument.SelectSingleNode(root/web/theme/@desc);
xmlAttrib.Value =...
|
by: Svyatoslav |
last post by:
Hi,
I have a problem with XmlNodes and my stack.
It looks something like this:
//declarations
XmlNode node, new_node;
Stack MyStack = new Stack();
//code
MyStack.Push(node);
|
by: Michael Schindler |
last post by:
frmHauptmenue.IntMandantID = (dataGridFiBuMandant);
Why?
What can I do? possible solution is, I convert this:
Convert.tostring(frmHauptmenue.IntMandantID) = (dataGridFiBuMandant.tostring());...
|
by: Christoph Boget |
last post by:
I am getting an error (a few among many) for the
following lines of code:
retval.BrokerName = (( curRow ==
System.DBNull.Value ) ? SqlString.Null : (string)curRow );
retval.BrokerGroupId = ((...
|
by: Patrick Olurotimi Ige |
last post by:
When i convert:- this code from VB to C#
Why do i get error "Cannot implicitly convert type 'object' to 'bool'
VB
---
If cmdcommand.Parameters("ReturnValue").Value = 1 Then
lblStatus.Text =...
| |
by: Andy Sutorius |
last post by:
Hi,
I am receiving the error when compiling the project, "cannot implicitly
convert type object to string".
The error points to this line of code and underlines the
dtrRecipient:...
|
by: Patrick Olurotimi Ige |
last post by:
compiling the code below i get the error:-
Cannot implicitly convert type 'object'to 'System.Xml.XmlDocument'
I'm getting the error on this line:-
myXml.Document =...
|
by: alex21 |
last post by:
Ok i am trying to use a Linq query to access a dictionary.
public static Dictionary<string, Client> Clients = new Dictionary<string, Client>();Using this Linq query:
IEnumerable<Staff> loginquery...
|
by: clflyer |
last post by:
I have a small problem. I'm pretty much a newbie to C# coming out of VB.Net.
I have a windows form that has a GroupBox named grpSoldTo.
I want to be able to clear all the textboxes and comboxes...
|
by: sappyjosh |
last post by:
public void Update_Stock(Inseed Is)
{
if (con.State == ConnectionState.Open)
{
con.Close();
}
try
{
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |