Advanced Forum Search Results
-
Button is one of the objects that will require managed activation to use. This means that your application needs to not be using the web script application template; that template specifically avoids the settings that cause the SL runtime to load any of the managed/CLR components.
The list of objects that you can use without the managed ...
-
Previous poster is correct: XamlReader.Load cannot parse anything that specifies x:Class. x:Class is something that only the markup compiler/partial class support you get in a compiled application can make sense of.
You probably have two choices here: 1) wire your events into the object tree with a routine you run after you know Load is complete; ...
-
I'm not sure which question you are asking.
If you're asking "Can I use JavaScript as a part of my application logic, and join it in with my Silverlight 2/3 code written in C# or VB" - then the answers that point to the HTML bridge feature documentations are correct.
If you're asking "Can I use JavaScript as my primary ...
-
Sort of a wild guess but did you happen to try this with your custom DP registered as type Geometry rather than PathGeometry?
-
You are running into a security challenge that occurs when using a CHM either on Vista or Windows 7. CHMs use a protocol that triggers this challenge, which is one reason why Microsoft generally does not issue CHM format as downloadable documentation as much anymore, particularly for developers.
Find the CHM file in Explorer. Right click the CHM ...
-
I just meant that you would have to use WebClient or HTTPWebRequest, but in reading your question again I imagine you're probably already doing that. That mention of "reading from disk" threw me
EDIT: Was about to suggest GZipStream but then noticed there is no client side implementation in Silverlight. Researching.
-
BAML is pretty much a WPF-specific concept. Silverlight's XAML does not use BAML. Silverlight gets some filesize optimization for XAML through the XAP packaging / assembly inclusion, but it's not the same thing as BAML.
For the case of a XAML file that exists on disc, you are facing an uphill climb getting Silverlight to load that XAML, ...
-
Documentation for Silverlight is all online at MSDN.
This is a good start point for browsing the TOC: http://msdn.microsoft.com/en-us/library/cc838158(VS.95).aspx
DataGrid reference documentation specifically: http://msdn.microsoft.com/en-us/library/system.windows.controls.datagrid(VS.95).aspx
-
I'd be interested in knowing where your XAML snippet is from (the MSDN URL). You might have wandered into WPF/NET versioned docs without realizing it.
Silverlight doesn't support <Structure StructureAttribute="xxxx"/> XAML syntax for most of its structures. There are however a couple of exceptions: that syntax will work ...
-
I don't believe there is a straightforward "IsWrapped" marker for this, or a "Wrapped" event unfortunately.
I can think of a somewhat devious solution, which I have seen used in real apps before, and which takes all the possible runtime variables into account. In your XAML, declare basically a copy of the same ...