Questions tagged [xamlparseexception]

XamlParseException is the exception class for parser-specific exceptions from a WPF XAML parser. XamlParseException is used only for the WPF-implemented XAML parser that performs the XAML parsing and loading for WPF applications.

XamlParseException is the exception class for parser-specific exceptions from a WPF XAML parser. XamlParseException is used only for the WPF-implemented XAML parser that performs the XAML parsing and loading for WPF applications.

A XamlParseException is usually only a generic and relatively undescriptive error, its InnerException property often contains the actual, underlying error that occurred.

153 questions
2
votes
2 answers

XamlParseException stopping project

I am learning C# 2010 using the book 'Microsoft VS C# 2010 Step by Step' whose Chapter 27 introduces the Task Parallel Library. When I run the provided 'GraphDemo' project, I get an XamlParseException error. I went over several of the threads on…
2
votes
0 answers

MissingManifestResourceException Could not find any resources appropriate for the specified culture or the neutral culture

In my WPF application I have three .resx files: Resources.en-US.resx, Resources.resx, and Resources.nl-BE.resx. Each resource file is built as an embedded resource. In each wpf view, I`ve bound the each control to the proper static resource…
2
votes
1 answer

Making multipe custom controls in WP7 Silverlight gives Weird exceptions

I followed a tutorial to make a Custom Control. What I basically did was make a new project, add a file CategoryBar.cs and a directory called Themes with a file Themes\generic.xaml (with Compile type set to 'resource'). Then I wrote a class…
Rohan Prabhu
  • 7,180
  • 5
  • 37
  • 71
2
votes
0 answers

Xamarin Forms XamlParseException Class not found in clr-namespace

I recently purchased Grialkit and was creating a simple walkthrough for an app that I'm developing. I'm following the examples that are included in my grialkit. I have a page, called WalkthroughPage. The XAML of this page looks like this:
Jules
  • 546
  • 2
  • 11
  • 36
2
votes
2 answers

RibbonControlsLibrary XamlParseException issue VS 2010

I have an issue with RibbonControlsLibrary, from the beginning I'm not able to use those controls in my C# apps. The problem appears randomly, mostly after reboot. Sometimes reboot helps and it starts to run properly (without any code changes!).…
Saadh
  • 39
  • 1
  • 6
2
votes
1 answer

XamlParseException was unhandled C# app

I received this error randomly and I don't know how to fix it seeming as the cause of the problem happened out of random. Can anyone guide me on what I should be looking for, I think it points to my XAML code but I don't know what I should be…
Sandeep Bansal
  • 6,280
  • 17
  • 84
  • 126
2
votes
1 answer

Xamarin Forms in Visual Studio 2017 XAML validation

I am really new to Xamarin.Forms and trying to learn using this nice tutorial. I have managed to set up everything in Visual Studio 2017 Community Edition and successfully deploy to both emulated and physical devices (Android only). During various…
2
votes
0 answers

XamlParseException when using User Control

I'm facing the following problem: I have created a user control in XAML that has an x:Name associated because I have some bindings internally that need this name. On the main page I use multiple instances of this user control and all of the sudden a…
Manfred Ramoser
  • 525
  • 1
  • 6
  • 15
2
votes
1 answer

Default styles with internal custom controls (C# Silverlight)

I am trying to create a Silverlight custom control that derives from System.Windows.Controls.Control with visibility internal, but I am seeing problems when trying to apply a default style. Here's the simplest form of the class ... internal class…
Tim Coulter
  • 8,705
  • 11
  • 64
  • 95
2
votes
1 answer

Silverlight 4 ManagedRuntimeError 4004 Listbox Scrolling Image XamlParseException

Silverlight 4 is crashing on me. The Just-In-Time Debugger says: An unhandled exception ('Unhandled Error in Silverlight Application') Code: 4004 Category: ManagedRuntimeError Message: System.Windows.Markup.XamlparseException: [Line: 0 Position:…
Torak
  • 83
  • 6
2
votes
1 answer

The attachable property '%0' was not found in type '%1'

I'm trying to load xaml using XamlReader.Load(xamlstring) in a PCL(for windows 8.1 & phone 8.1) project, but I'm always hitting the exception "Windows.UI.Xaml.Markup.XamlParseException" at the below line: string content =…
2
votes
1 answer

How to use inline XAML in C# to easily make custom objects in code-behind

I'm trying to reference a LinearGradientBrush with the XAML parser, but it can't identify the object and I get the exception: "Cannot create unknown type 'LinearGradientBrush'" Is it possible to make this type recognized at runtime? Here is the…
ThisHandleNotInUse
  • 1,135
  • 1
  • 10
  • 23
2
votes
2 answers

XamlParseException on Windows XP

I have a WPF application which runs perfectly fine on vista/7 but on Windows XP it chucks up the System.Windows.Markup.XamlParse error, and it's quite frustrating because I have a hell of a lot of controls in my application and I don't know what is…
Sandeep Bansal
  • 6,280
  • 17
  • 84
  • 126
2
votes
1 answer

Silverlight 4 XAML Collections

I have authored some custom classes that I would like to create using XAML:
2
votes
1 answer

Windows Store ListView ItemStackPanel horizontal scrollbar not visible

Im having Listview which shows 185 columns and 15 rows. For showing 185 columns with 15 rows, windows store app takes some time or UI gets freezes. below is the code Im using for showing data
1 2
3
10 11