Advanced Forum Search Results
-
I'm fairly certain that a leading forward slash ("/") is required:
new Uri(@"/CAL.Modules.Simple;component/WhistlerBlue.xaml", UriKind.Relative));
-
Give me more information on the exception that is being thrown. It should tell you exactly what line the problem is in.
-
[quote user="CoreBruton"]If you mean at runtime, you could take a look at the following sample code:
Master page:
<uc3:mycontrol ID="SLControl" runat="server" height="175" width="700" itemname="Main" />
User control:
<param name="Width" value="<%=width ...
-
You have a colon in the Binding. Replace it with '=' and see if that gets you up and running.
{Binding ElementName=txtConfirmaSenha, Path=Password}
-
Are you asking how you retrieve these parameters?
private void Application_Startup(object sender, StartupEventArgs e)
{
string parameter = e.InitParams["paramKey"];
}
-
Are you referring to the Page control found in the System.Windows.Controls.Navigation assembly? You can set the Resources property of Page just as you do with UserControl.
<navigation:Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
-
You could use the GetCellContent method of the DataGrid to get whatever control is contained in that cell and modify it to achieve this. If you're wanting to change the color for validation purposes, there are much better solutions (read more about Silverlight 3 validation here).
TextBox cellTextBox = ...
-
Is the txtLogin control a PasswordBox as well? PasswordBox does not have a Text property (use Password property instead).
-
This is because Silverlight 3 will no longer convert a string to an ImageSource when binding to strings. I've noticed this in a couple of my Silverlight 2 apps. You'll have to use a Converter or change the underlying property from string to an ImageSource.
-
I've just successfully done so. You shouldn't have any problems installing it on top of Blend 2.