Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting attached property
Message
From
30/06/2011 08:23:58
 
 
To
All
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
Setting attached property
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01516846
Message ID:
01516846
Views:
111
Hi,
How to implement this:
private void SetAttachedProperty(FrameworkElement fe, string propertyName, object value)
        {
        }
when called, for example, with:
SetAttachedProperty(new TextBlock(), "Canvas.Left", 50);
Next
Reply
Map
View

Click here to load this message in the networking platform