Format:
Recent snippets matching tags of Dependency Property
public class Button : ButtonBase { // The dependency property public static readonly DependencyProperty IsDefaultProperty; static Button() { // Register the property Button.IsDefaultProperty = DependencyProperty.Register(“IsDefault”, typeof(bool), typeof(Button), new FrameworkPropertyMetadata(false,
133 Views
no comments
<TemplatesExport family="Live Templates"> <Template uid="a008a808-07e4-4027-9ed7-99167b28a16f" shortcut="dprop" description="Property wrapper that works with a Dependency Property" text="public $type$ $name$
{
 get { return ($type$) GetValue($name$Property); }
 set { SetValue($name$Property, value); }
}" reformat="True" shortenQualifiedReferences="True"> <Categories /> <Variables> <Variable name="type" expression="fixedTypeName()" initialRange="0" /> <Variable name="name" expression="suggestVariableName()" initialRange="0" /> </Variables> <CustomProperties /> </Template> </TemplatesExport>
360 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
