markup-extensions
Current binding value
I\'m writing markup extension. I have XAML like this <TextBlock Text=\"{ui:Test SomeInfo}\" /> and Tes开发者_如何学PythontExtension with constructor taking one string argument. I\'m getting \[详细]
2023-04-08 00:28 分类:问答Set custom MarkupExtension from code
How do you set a custom MarkupExtension from code? You can easily set if from Xaml. The same goes for Binding and DynamicResource.[详细]
2023-04-06 10:09 分类:问答Alternative to MarkupExtension inheritance in Silverlight
I\'m using MarkupExtension inheritance in my WPF app, which I\'d like to port under Silverlight. I\'ve made a \"Locale\" markup extension which can be used like this in xaml[详细]
2023-04-04 19:08 分类:问答C# how to execute the markup event first?
I have this markupExtension Class [MarkupExtensionReturnType(typeof(FrameworkElement))] [ContentProperty(\"content\")][详细]
2023-03-13 18:24 分类:问答Silverlight 5: Set ConstructorArgument on a IMarkupExtension class
I would like to have a MarkupExtension that can be initiated with just one value, much like Binding: <TextBox Text=\"{Binding MyPath}\"/> instead of <TextBox Text=\"{Binding Path=MyPath}\"&g[详细]
2023-03-05 10:08 分类:问答WPF MarkupExtension to Determine Assembly in which XAML is Embedded
I have a WPF project (in .NET 4.0) with XAML resources embedded in as assembly as Pages. In the XAML, I need to have MarkupExtension that is declared in another assembly that has no specific knowledge[详细]
2023-03-03 13:28 分类:问答WPF Markup Extension in VB.Net not working
I\'m trying to creat开发者_StackOverflow中文版e a VB.Net Markup Extension per this blog post but in vb.net[详细]
2023-02-25 03:38 分类:问答Is there any way to instantiate a 'Type' in Silverlight XAML?
I开发者_StackOverflow社区t\'s well known that Silverlight lacks the very compelling x:Type MarkupExtension (MarkupExtension is not supported in Silverlight at all).[详细]
2023-02-24 08:27 分类:问答WPF show small number beside all Controls
I have many FrameworkElements (TextBlock, Ch开发者_运维问答eckBox, ListBox..) and I would like to make something allowing me to show a small number besides every one control.[详细]
2023-02-11 05:44 分类:问答Deriving from Binding class (Silverlight 4.0)
Using the existing Binding class, we can write, <TextBox Text=\"{Binding Email, Mode=TwoWay}\"/>[详细]
2023-02-05 05:06 分类:问答