| File: System\Windows\FrameworkReadOnlyPropertyMetadata.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework) |
// 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 ReadOnlyFrameworkPropertyMetadata : FrameworkPropertyMetadata { public ReadOnlyFrameworkPropertyMetadata(object defaultValue, GetReadOnlyValueCallback getValueCallback) : base(defaultValue) { _getValueCallback = getValueCallback; } internal override GetReadOnlyValueCallback GetReadOnlyValueCallback { get { return _getValueCallback; } } private GetReadOnlyValueCallback _getValueCallback; } }