Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Controls / DeferredSelectedIndexReference.cs / 1 / DeferredSelectedIndexReference.cs
//---------------------------------------------------------------------------- // // File: DeferredSelectedIndexReference.cs // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Proxy object passed to the property system to delay load // Selector.SelectedIndex values. // //--------------------------------------------------------------------------- using System.Windows.Controls.Primitives; namespace System.Windows.Controls { // Proxy object passed to the property system to delay load Selector.SelectedIndex // values. internal class DeferredSelectedIndexReference : DeferredReference { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal DeferredSelectedIndexReference(Selector selector) { _selector = selector; } #endregion Constructors //------------------------------------------------------ // // Internal Methods // //----------------------------------------------------- #region Internal Methods // Does the real work to calculate the current SelectedIndexProperty value. internal override object GetValue(BaseValueSourceInternal valueSource) { return _selector.InternalSelectedIndex; } // Gets the type of the value it represents internal override Type GetValueType() { return typeof(int); } #endregion Internal Methods //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields // Selector mapped to this object. private readonly Selector _selector; #endregion Private Fields } } // 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
- CommandEventArgs.cs
- AppDomainAttributes.cs
- EventItfInfo.cs
- EncoderFallback.cs
- WsatExtendedInformation.cs
- WebPartEditVerb.cs
- ObsoleteAttribute.cs
- CompareInfo.cs
- Publisher.cs
- _ContextAwareResult.cs
- OdbcDataAdapter.cs
- SyndicationItemFormatter.cs
- CacheAxisQuery.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlDigitalSignatureProcessor.cs
- ListViewGroupItemCollection.cs
- BaseProcessor.cs
- PropertyEmitterBase.cs
- StyleSelector.cs
- DesignerVerb.cs
- DbConnectionPool.cs
- DigitShape.cs
- TypedTableBase.cs
- _ConnectOverlappedAsyncResult.cs
- RawStylusInputCustomDataList.cs
- ManagedWndProcTracker.cs
- TextDecorations.cs
- TextEncodedRawTextWriter.cs
- connectionpool.cs
- ObjectHelper.cs
- PageEventArgs.cs
- OrderByBuilder.cs
- UriExt.cs
- WindowsProgressbar.cs
- Crypto.cs
- DefaultBindingPropertyAttribute.cs
- BaseParagraph.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XmlValueConverter.cs
- EmbossBitmapEffect.cs
- FormsAuthenticationTicket.cs
- WindowsIPAddress.cs
- Function.cs
- ToolboxItemCollection.cs
- CodeNamespaceImportCollection.cs
- TrimSurroundingWhitespaceAttribute.cs
- ConfigurationManagerInternalFactory.cs
- GridProviderWrapper.cs
- IntPtr.cs
- SqlCacheDependencyDatabase.cs
- CopyAction.cs
- SecurityToken.cs
- XamlFigureLengthSerializer.cs
- JumpPath.cs
- TiffBitmapDecoder.cs
- CodeTypeParameterCollection.cs
- CodeGenerationManager.cs
- SemaphoreFullException.cs
- ModuleConfigurationInfo.cs
- BitmapEffectDrawingContextWalker.cs
- HybridCollection.cs
- CommandPlan.cs
- AlphabeticalEnumConverter.cs
- WebMethodAttribute.cs
- HtmlContainerControl.cs
- SystemColorTracker.cs
- MappedMetaModel.cs
- PriorityBindingExpression.cs
- Compensate.cs
- UdpChannelListener.cs
- PeerObject.cs
- EntityDataSourceReferenceGroup.cs
- DrawingImage.cs
- RectKeyFrameCollection.cs
- ValueTypePropertyReference.cs
- FormViewPagerRow.cs
- TextTreeInsertUndoUnit.cs
- EntitySetBase.cs
- Imaging.cs
- IxmlLineInfo.cs
- ToolStripLabel.cs
- ClientSideProviderDescription.cs
- DiscoveryOperationContextExtension.cs
- TakeQueryOptionExpression.cs
- DataControlReference.cs
- DLinqTableProvider.cs
- CreateUserWizard.cs
- TextParagraph.cs
- NativeMethods.cs
- GuidTagList.cs
- IncrementalHitTester.cs
- SystemNetHelpers.cs
- ObjectDisposedException.cs
- PropertyConverter.cs
- PageThemeCodeDomTreeGenerator.cs
- HtmlLabelAdapter.cs
- WhitespaceRule.cs
- MdiWindowListStrip.cs
- EntityStoreSchemaFilterEntry.cs
- CodeMemberProperty.cs