Advanced Forum Search Results
-
HI,
Is it possible to use the ISM to style a custom control? I know the toolkit is doing this, but I can't seem to figure out what the magic is. Everytime I add my controls style to some themes.xaml file, ISM complains about an invalid resource.
For instance simply adding this style causes the error.
<Style ...
-
I have a class that is the worlds simplest descendant of a TabControl. Here's the declaration:
public class ScrollableTabControl1 : TabControl
{public ScrollableTabControl1() : base()
{DefaultStyleKey = typeof(TabControl);
}
}
This control does not show up in the hosting page. Its just blank - regardless of the DefaultStyleKey. ...
-
Is there anyway to programmattically determine from what webserver a SL was loaded from? Java applets had the notion of a codebase - does silverlight have any equivalent?
I'm making WCF calls back to the same server the SL was downloaded from - I'd like to be able to change the EndpointAddress to programmatically to talk back to ...
-
I'm trying to build a fieldset type control in SLB2, but I can't set the corner radius property of one of my borders. Here's the xaml and code:
Any ideas would be greatly appreciated
<!-- Fieldset --><Style TargetType="ctrl:Fieldset">
<Setter Property="CornerRadius" ...
-
How do I convert this Storyboard.TargetProperty xaml into a valid PropertyPath:<Storyboard x:Name="rotate">
<DoubleAnimation Storyboard.TargetName="rotateEffect" ...
-
sladapter,
Thank you very much, I worked thru you combobox and gained the knowledge that solved my problem!! Thank a million
-
I can't seem to download from that link?
-
Yeah, its a custom control. I'm trying to to use an ItemsControl in a Popup control to get around the issues of using the ListBox control in the popup (i've seen your posts around those issues and ran into the same problems in SL Beta 2). I thought the ItemsControl may provide a less buggy way to accomplish the goal.
The goal ...
-
When I add that code to the ItemsControl in generic.xaml and the corresponding event handler in the custom controls code behind I get an error Sys.InvalidOperationException that leads to XamlParseException.
Any other ideas?
-
I have a custom control that contains an ItemsControl defined in generic.xaml, I'm trying find out which Item in the Items control has been clicke on with the left button of the mouse. How would I go about getting that information?
<ItemsControl x:Name="CommandsListBox" Grid.Row="1" ...