Hi,
I want to be able to add a Binding to some properties of a DataGridTextColumn (i.e. Width, Sorting order, etc.), however it seems that those properties are not DependencyPropertys, so they can't be bound to. Another answer suggested subclassing DataGridTextColumn to expose those properties as DependencyPropertys, however I can't see...
I have a Silverlight 3 application which gets data from a web service. When I add a reference to my web service, all the classes used by the web service are defined in a proxy class. So far, so good... Now, I would like to use the DataForm offered in Silverlight 3. To use that component, I must add metadata to my class (e.g. see code bel...
I have pdf file using only 2 type of fonts.
But when exporting the pdf to xps format, there are odttf files as many as glyphs elements in generated xps document.
Now I want every glyphs with the same font type to have the same FontUri value. But how to identify if 2 odttf files is the same font type?
...
Im tring to start unit testing with silverlight and some of the samples online use the following statements
EnqueueCallback
EnqueueConditional
EnqueueTestComplete
where do these live?
...
Essentially I want some simple reflection where I have an arbitrary DependencyProperty as a parameter. I'd have a special case (in an if statement, for example) if DependencyProperty is defined by / property of a PlaneProjection. I've done some simple fandangling of GetType() but no luck with the expected getters like MemberType.
public...
How to add close button on the right top of the window in silverlight?
...
Hi
How to set the orientation of the List box in Silverlight i.e how to display the datas horizantally
Thanks in advance
...
Hello,
I'm working on a Silverlight 3 app with RIA Services. I've got the app running but for some reason it's only reading data, not committing changes.
Most of the online examples I've seen use Linq2Entities; we're using Linq2SQL (our data model is pretty good as-is without abstraction.)
Here's a snippet of the Service:
[EnableCli...
Hi Guys,
I am looking for a way to enable my users to paste images into my Silverlight component (into a TextBox, I guess, or is there any better control for doing this?).
From what I read on the internet, for security reasons, there is no clipboard access from code, except by using a JavaScript function that works only with IE.
But w...
I have setup a StackPanel with a set of controls. Each control is an instance of the same class. The control is also a stack panel and has another custom control in it. So:
StackPanel:
CustomControl1:
StackPanel:
CustomControl2:
ListBox
CustomControl1:
StackPane...
In WPF/Silverlight, can I get the calculated value of a UIElement after a transformation is applied?
(Per the comment below):
I've got a stack panel and I've applied a TranformGroup to it. There are two translate and one scale transforms in this group.
(warning, psuedo code ahead)
groupTransform.children.add(new TranslateTransform())...
How to add images in Silver light?
...
My Silverlight 3 application looks perfect in and out-of-browser with DPI setting in Windows XP set to Normal size (96 DPI). After changing DPI settings to Large size (120 DPI) the application looks the same in browser but scales up out-of-browser.
The problem is that when running out-of-browser the hosting window size stays the same r...
I have recently uplifted my SL2 solution to SL3. I have a UserControl that contains only a datagrid:
<UserControl x:Class="Case.CaseDataGrid_View"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:data="clr-namespace:Syste...
how we can fetch the data from the database through Silver light? I want the basics only. because i am a fresher in silver light.
...
I tried to use autocompletebox inside of dataform instead of TextBox. but I cannot see instance name of autocompletebox in the class file.
BTW, If I put autocompletebox outside of dataform, I can see instance name of autocompletebox, "acbEmpName".
So, my question is that Is it impossible to put autocompletebox inside of dataform?
If so...
how to bind the data from the text box into a List box in Silver light?
I have 5 text boxes and at the time clicking the save button, the list box will flll with the data that displayed in the text boxes. How it will be done in silver light?
...
In Silverlight (version 3 preview), I want to create a Line with different solid colors, so no gradients between colors.
Basically I want to do the following:
<Line X1="0" X2="500" StrokeThickness="10">
<Line.Stroke>
<LinearGradientBrush>
<GradientStop Color="Blue" Offset="0.5" />
<GradientStop Color="Red" Offset="1"/>
</LinearGr...
I have a Silverlight app that is using WCF to connect to some services. The services are running as a windows service and are on a different port, so I have to use a client access policy file. In the WCF services there is a method for getting the client access policy.
[WebGet( ResponseFormat = WebMessageFormat.Xml )]
public Stream GetC...
Hello,
When a Silverlight plug-in is in full-screen mode, it disables most keyboard events. They say it is for security reasons:
is intended to minimize the
possibility of unintended information
being entered by a user
What I don't understand is what is the difference of silverlight fullscreen or any web browser fullscreen?
I...