| File: System\Windows\ReadOnlyPropertyMetadata.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows { internal class ReadOnlyPropertyMetadata : PropertyMetadata { public ReadOnlyPropertyMetadata(object defaultValue, GetReadOnlyValueCallback getValueCallback, PropertyChangedCallback propertyChangedCallback) : base(defaultValue, propertyChangedCallback) { _getValueCallback = getValueCallback; } internal override GetReadOnlyValueCallback GetReadOnlyValueCallback { get { return _getValueCallback; } } private GetReadOnlyValueCallback _getValueCallback; } }