Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / RenderContext.cs / 1 / 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
- ArrayList.cs
- ReflectEventDescriptor.cs
- DbConnectionFactory.cs
- TrustLevel.cs
- DependencyPropertyValueSerializer.cs
- HostSecurityManager.cs
- InternalBufferOverflowException.cs
- ComplexObject.cs
- BitmapEffectvisualstate.cs
- HotSpotCollection.cs
- OdbcConnectionStringbuilder.cs
- CursorConverter.cs
- HandlerFactoryCache.cs
- QueryConverter.cs
- HandlerFactoryCache.cs
- hresults.cs
- HorizontalAlignConverter.cs
- InvokerUtil.cs
- XmlSchemaDatatype.cs
- Model3D.cs
- ChangeConflicts.cs
- BookmarkUndoUnit.cs
- MetafileHeader.cs
- PlaceHolder.cs
- TreeViewHitTestInfo.cs
- Attributes.cs
- SecurityUniqueId.cs
- ProtocolsConfigurationHandler.cs
- ToolboxItemFilterAttribute.cs
- PreservationFileReader.cs
- SoapObjectInfo.cs
- DispatcherFrame.cs
- StylusCaptureWithinProperty.cs
- XmlDictionaryString.cs
- FlowLayoutPanel.cs
- CodeTryCatchFinallyStatement.cs
- OraclePermission.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- CompilationLock.cs
- FixedSOMFixedBlock.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ModelItemDictionary.cs
- EnumerableRowCollection.cs
- CollectionViewGroupInternal.cs
- SoapBinding.cs
- UserControlAutomationPeer.cs
- HtmlHistory.cs
- Char.cs
- ContentPathSegment.cs
- DirectoryNotFoundException.cs
- SmtpFailedRecipientsException.cs
- HttpListener.cs
- GeometryConverter.cs
- SettingsSection.cs
- AsymmetricSignatureDeformatter.cs
- XmlSchemaSequence.cs
- TogglePattern.cs
- Matrix3D.cs
- ToolStripRenderer.cs
- LogicalExpressionTypeConverter.cs
- Codec.cs
- User.cs
- StackBuilderSink.cs
- Stack.cs
- RepeaterDataBoundAdapter.cs
- TextTreeDeleteContentUndoUnit.cs
- Accessible.cs
- StringResourceManager.cs
- XmlSubtreeReader.cs
- StateWorkerRequest.cs
- ImageInfo.cs
- EvidenceTypeDescriptor.cs
- CodeGenHelper.cs
- ActivityDesigner.cs
- ServiceDurableInstanceContextProvider.cs
- ISCIIEncoding.cs
- SrgsRulesCollection.cs
- StringReader.cs
- BuilderElements.cs
- CompModHelpers.cs
- DeploymentExceptionMapper.cs
- PackWebRequestFactory.cs
- MembershipPasswordException.cs
- ZipIOFileItemStream.cs
- WebPartTransformerCollection.cs
- FamilyTypeface.cs
- Triangle.cs
- VisualTransition.cs
- SqlNodeAnnotation.cs
- WebPartConnectionsConfigureVerb.cs
- SmiMetaData.cs
- DesignTimeType.cs
- InheritedPropertyChangedEventArgs.cs
- PlatformNotSupportedException.cs
- BinarySecretKeyIdentifierClause.cs
- OutputCacheProfile.cs
- ZipIOLocalFileDataDescriptor.cs
- AxisAngleRotation3D.cs
- IDataContractSurrogate.cs
- VirtualPath.cs