I cannot seem to figure out how to do a Selection Alignment in the new RichTextBox, I have an idea that I need to convert the selection into the Paragraph type which supports alignment, but cannot seem to figure this out. None of the Silverlight examples have this, but I'm sure it is possible.
I have this code, that does not work - as I ...
I have a silverlight control that prints to about 1.5 pages. I'd like to try and scale to fit onto a single page.
I'm using the new Printing API in Silverlight 4.
I've modified the docToPrint.PrintPage handler as follows :
var renderHeight = item.RenderSize.Height;
var printableHeight = args.PrintableArea.Height;
var scal...
I'm trying to find out how to anchor all of the content in a RichTextBox control to a particular location, for example: horizontal = center and vertical = center. I can horizontally align paragraphs, but not all of the content in the control itself (which anchors at top/left by default). It appears, from the documentation that <VerticalC...
Hi and happy new year,
I create an object Custom as you can see below
public class GridViewModel
{
private List _listRowCust = new List();
public List ListRowCust
{
get { return _listRowCust; }
set { _listRowCust = value; }
}
}
public class RowCustom
{
private List<CellCustom> _listCellCustom = new Li...
Dear StackOverflowers;
How/what is the best way to access a user outlook while out of browser in
Silverlight ?
I'm looking for sample code to start making queries on a user e-mail box
after the user installs a silverlight app.
I know this busts most if not all of the silverlight security sandboxes, but
installing elevates the app trus...
I've got a database which has a table called m_AttentionFlags which references a primary key in m_PermissionCollections. I've built an EntityFramework model from this and created a DomainService.
Now using RIA on the client I have loaded the flags into the local context on initialization of a control:
var query = _context.GetM_Attenti...
Here is an easy question.
What browser(s) does Silverlight 3 and/or 4 run under?
I know IE is one of them.
...
How can I handle the Paste event for a RichTextBox control in Silverlight 4? (I want to be able to copy-paste images - the Clipboard in SL4 supports only text, so I'm sending the ImageSource Uri, and on the Paste event I want to load the image in the RichTextBox instead of the Uri string).
...
Hi
I am creating sort of a "Navigation panel" (which is actually an ItemControl) for SL and using Regions to allow each module to add his link to the panel.
Problem is that modules loading is inconsistent and thus order of links in the panel can change according to modules loading order.
Restricting the modules order is out of the que...
I'm looking at a scenario where I need to create a single "master" Silverlight application and then add "child" applications for an out-of-browser Silverlight application.
The scenario is something like this.
A user will visit a gameboard web site
and choose a game to play. Let's call
it Checkers. He likes it, so then he
insta...
I’m trying out the Silverlight 4 beta DataForm control. I don’t seem to be able to get the edit and paging options at the top of the control like I’ve seen in Silverlight 3 examples. Has something changed or am I doing something wrong? Here’s my code:
<UserControl x:Class="SilverlightApplication7.MainPage"
xmlns="http://schemas.micr...
In Visual Studio 2010 beta when I try to add a reference to a Silverlight 4 project I get an empty list on the .NET tab. I know that it is filled in asynchronously now but I've waited over 10 minutes and it never fills. It seems to work in other projects – it just seems to be Silverlight that it has trouble with. Does anyone know what th...
Can any one tell me how to load com object in a silverlight out of browser application . I use silverlight4 . If possible can any one give me sample codes of it. Thanks in advance
...
Hi
can ComAutomationFactory.CreateObject can be used to create IDisposable object for our COM application .If Possible what value should be given as ProgramID
...
Hi
I tried to create object using ComAutomationFactory.CreateObject . It is giving following exception
"Failed to create an object instance for the specified ProgId"
My application is running on OOB and has elevated permission.
if (ComAutomationFactory.IsAvailable && App.Current.HasElevatedPermissions)
{
...
Hello!
Will silverlight 4 have real 3d support?
Like, porting wpf3d classes to silverlight. it would be great if they do so. I think it could bring major improvement on this technology.. look at flash3d, java3d, papervision, googleo3d
...
Hey, I'm trying to both create and display PDFs in an OOB app I'm trying to make as part of a hobby. Does anyone know of any good controls for creating and displaying PDFs in Silverlight?
...
I have a DataService returning an IQueryable
I breakpoint at the "return" statement, list looks fine.
I breakpoint at the Async callback method, and all the elements in the list are identical objects.
Any Ideas?
...
Who provides the best 3rd party Silverlight controls for LOB applications? In the past I’ve used Infragistics for WinForm controls which were very good and they also provide good support. However, they seem to be a bit behind the likes of Telerik in the Silverlight space. I’ve also noticed the Silverlight toolkit as well – are these as r...
Hello,
I have been working with a Linq query in a Silverlight application which returns only the row of a table which contains the max value of the field OptionARMRunId (identity). When executed in LinqPad, the query runs fine and returns the correct row. However, when used in my Silverlight application, the application never moves pas...