Gul Md Ershad
What is attached property? Which design pattern it implements?
By Gul Md Ershad in .NET on Oct 13 2016
  • Gul Md Ershad
    Oct, 2016 13

    Attached properties are a special kind of Dependency Properties. They allow us to attach a value to an object that does not know anything about this value. It is like a global property.Example: If we place a text box inside a grid, we choose the grid cell where it’s positioned or in DockPanel we attach the one property with like Textbox like DockPanel.Dock.It implements Flyweight Design pattern Global property is being shared with other objects.

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS