mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
930 B
35 lines
930 B
// Copyright (c) Cristian Civera (cristian@aspitalia.com) |
|
// This code is distributed under the MS-PL (for details please see \doc\MS-PL.txt) |
|
|
|
using System; |
|
using System.Collections.Generic; |
|
using System.ComponentModel; |
|
using System.Text; |
|
|
|
namespace Ricciolo.StylesExplorer.MarkupReflection |
|
{ |
|
public class WpfDependencyPropertyDescriptor : MarshalByRefObject, IDependencyPropertyDescriptor |
|
{ |
|
private readonly DependencyPropertyDescriptor _propertyDescriptor; |
|
|
|
public WpfDependencyPropertyDescriptor(DependencyPropertyDescriptor propertyDescriptor) |
|
{ |
|
if (propertyDescriptor == null) throw new ArgumentNullException("propertyDescriptor"); |
|
_propertyDescriptor = propertyDescriptor; |
|
} |
|
|
|
#region IDependencyPropertyDescriptor Members |
|
|
|
public bool IsAttached |
|
{ |
|
get { return _propertyDescriptor.IsAttached; } |
|
} |
|
|
|
#endregion |
|
|
|
public override object InitializeLifetimeService() |
|
{ |
|
return null; |
|
} |
|
} |
|
}
|
|
|