Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / ReadOnlyPropertyMetadata.cs / 1305600 / ReadOnlyPropertyMetadata.cs
using System;
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;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
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;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CSharpCodeProvider.cs
- TextStore.cs
- VerificationAttribute.cs
- DataGridHeaderBorder.cs
- RectangleGeometry.cs
- ArgumentsParser.cs
- BidOverLoads.cs
- TextOnlyOutput.cs
- FrameworkName.cs
- ScalarOps.cs
- Triplet.cs
- CommandDesigner.cs
- AppSettingsExpressionEditor.cs
- DoubleStorage.cs
- ActivityDesignerLayoutSerializers.cs
- EventHandlerList.cs
- activationcontext.cs
- ExtendedProperty.cs
- FixedSOMLineRanges.cs
- ItemList.cs
- IsolatedStorageFileStream.cs
- TreeChangeInfo.cs
- InputDevice.cs
- Point3DValueSerializer.cs
- FontUnit.cs
- glyphs.cs
- UnitySerializationHolder.cs
- MessageQueueInstaller.cs
- FixedSOMImage.cs
- TemplateBindingExpression.cs
- SpeechRecognizer.cs
- SqlStream.cs
- Button.cs
- EdmSchemaError.cs
- RequestQueryProcessor.cs
- COM2ColorConverter.cs
- MeshGeometry3D.cs
- UrlPropertyAttribute.cs
- DelimitedListTraceListener.cs
- ServiceRoute.cs
- sqlstateclientmanager.cs
- TransformerConfigurationWizardBase.cs
- CheckBoxPopupAdapter.cs
- WorkerRequest.cs
- SqlDataRecord.cs
- SchemaExporter.cs
- ConfigXmlDocument.cs
- SelectorItemAutomationPeer.cs
- InstanceData.cs
- ResourceReader.cs
- Matrix3D.cs
- PageSetupDialog.cs
- Errors.cs
- SmtpCommands.cs
- DispatcherExceptionEventArgs.cs
- CompilerTypeWithParams.cs
- _LoggingObject.cs
- SettingsSavedEventArgs.cs
- safelinkcollection.cs
- SortedSetDebugView.cs
- EpmSourceTree.cs
- EntityDescriptor.cs
- SelectorAutomationPeer.cs
- DetailsViewInsertedEventArgs.cs
- WeakReferenceKey.cs
- LocalTransaction.cs
- BrowserCapabilitiesFactory.cs
- DesignerActionItem.cs
- MenuItemStyle.cs
- Shape.cs
- DecoderBestFitFallback.cs
- UIElement.cs
- DesignerTransaction.cs
- ErrorFormatterPage.cs
- CallContext.cs
- DbConnectionPoolOptions.cs
- OracleConnectionStringBuilder.cs
- SystemDiagnosticsSection.cs
- ExtendedPropertyDescriptor.cs
- SByteConverter.cs
- XmlFormatMapping.cs
- CharUnicodeInfo.cs
- UnmanagedMemoryStreamWrapper.cs
- TemplateControlCodeDomTreeGenerator.cs
- ComPlusDiagnosticTraceRecords.cs
- ConfigurationPropertyAttribute.cs
- ISO2022Encoding.cs
- StrokeDescriptor.cs
- DnsPermission.cs
- regiisutil.cs
- Int64Animation.cs
- StandardTransformFactory.cs
- CodeMemberEvent.cs
- HttpServerUtilityWrapper.cs
- ThreadStateException.cs
- XmlLanguage.cs
- HtmlElementErrorEventArgs.cs
- SspiWrapper.cs
- ValueChangedEventManager.cs
- KeyFrames.cs