Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / RenderContext.cs / 1305600 / RenderContext.cs
//------------------------------------------------------------------------------ // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Accumulates state during a render pass of the scene. // //----------------------------------------------------------------------------- namespace System.Windows.Media { using System; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Runtime.InteropServices; using MS.Internal; ////// This class accumulates state during a render pass of the scene. /// internal sealed class RenderContext { // ------------------------------------------------------------------- // // Internal Constructors // // ------------------------------------------------------------------- #region Internal Constructors ////// Constructor /// internal RenderContext() { // Do nothing. } #endregion Internal Constructors // -------------------------------------------------------------------- // // Internal Properties // // ------------------------------------------------------------------- #region Internal Properties ////// Returns the current channel. /// internal DUCE.Channel Channel { get { return _channel; } } ////// Returns a handle to the root node, which is attached /// directly to a composition target /// internal DUCE.ResourceHandle Root { get { return _root; } } #endregion Internal Properties // -------------------------------------------------------------------- // // Internal Methods // // -------------------------------------------------------------------- #region Internal Methods ////// Initialize must be called before a frame is rendered. /// internal void Initialize( DUCE.Channel channel, DUCE.ResourceHandle root) { Debug.Assert(channel != null); _channel = channel; _root = root; } #endregion Internal Methods // ------------------------------------------------------------------- // // Private Fields // // -------------------------------------------------------------------- #region Private Fields ////// The current channel. /// private DUCE.Channel _channel; ////// The root node, attached directly to a composition target. /// private DUCE.ResourceHandle _root; #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
- ButtonChrome.cs
- ViewStateException.cs
- ResourceDisplayNameAttribute.cs
- RSACryptoServiceProvider.cs
- PreviewPageInfo.cs
- COM2FontConverter.cs
- XmlCharacterData.cs
- QilReference.cs
- Profiler.cs
- MultiTargetingUtil.cs
- RelOps.cs
- DashStyle.cs
- ApplicationManager.cs
- XmlBinaryReader.cs
- CompareInfo.cs
- PropertyNames.cs
- AuthenticationService.cs
- HtmlPhoneCallAdapter.cs
- DocumentPage.cs
- DataObjectPastingEventArgs.cs
- PropertySet.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- SkewTransform.cs
- Region.cs
- SQLDecimalStorage.cs
- WebReferenceCollection.cs
- DrawingGroup.cs
- AuthenticateEventArgs.cs
- UTF32Encoding.cs
- PersonalizablePropertyEntry.cs
- CellPartitioner.cs
- AssemblyBuilder.cs
- HttpHandler.cs
- SiteMapDataSourceView.cs
- IndexedGlyphRun.cs
- FolderBrowserDialogDesigner.cs
- Button.cs
- MdiWindowListStrip.cs
- BooleanStorage.cs
- XmlAnyElementAttribute.cs
- XmlSignatureProperties.cs
- SqlBooleanMismatchVisitor.cs
- webclient.cs
- ItemCollection.cs
- Models.cs
- HttpApplication.cs
- CompositionCommandSet.cs
- Constants.cs
- ScalarConstant.cs
- XmlCharCheckingReader.cs
- ColumnHeader.cs
- RelatedImageListAttribute.cs
- LayoutTableCell.cs
- RuleSettings.cs
- VariantWrapper.cs
- FindRequestContext.cs
- Effect.cs
- CodeRegionDirective.cs
- XmlSchemaSequence.cs
- CodeArrayIndexerExpression.cs
- ScrollProviderWrapper.cs
- SingleResultAttribute.cs
- TableRowCollection.cs
- DataSvcMapFileSerializer.cs
- SiteMapNodeItem.cs
- SerializationHelper.cs
- DependencyProperty.cs
- ObjectListFieldsPage.cs
- PackWebResponse.cs
- ContextMenuStrip.cs
- XmlSchemaAnyAttribute.cs
- TraceSource.cs
- versioninfo.cs
- DataGridHyperlinkColumn.cs
- EdmComplexPropertyAttribute.cs
- HttpDictionary.cs
- InlineCollection.cs
- DecimalAnimation.cs
- ResXResourceSet.cs
- SvcMapFileLoader.cs
- EntityType.cs
- HostProtectionPermission.cs
- ZipIOExtraField.cs
- HelloMessageCD1.cs
- DataObjectMethodAttribute.cs
- RegexCode.cs
- ProfilePropertySettings.cs
- NativeMethodsOther.cs
- FontCacheUtil.cs
- TimeoutException.cs
- TransformerInfoCollection.cs
- FixedSOMFixedBlock.cs
- DataGridPagerStyle.cs
- Roles.cs
- NCryptNative.cs
- OleServicesContext.cs
- ProfileService.cs
- CollectionType.cs
- XmlQueryContext.cs
- QueryResults.cs