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
- PropertyValidationContext.cs
- NodeCounter.cs
- SecurityElement.cs
- HttpCapabilitiesEvaluator.cs
- ScriptResourceMapping.cs
- ClientRolePrincipal.cs
- PageThemeBuildProvider.cs
- SafeRegistryKey.cs
- GuidelineCollection.cs
- InvokeDelegate.cs
- BasicExpandProvider.cs
- UdpChannelListener.cs
- ApplicationDirectoryMembershipCondition.cs
- DefaultPropertiesToSend.cs
- Membership.cs
- ConstructorNeedsTagAttribute.cs
- VariableQuery.cs
- GenericWebPart.cs
- RadioButton.cs
- EntityParameterCollection.cs
- WeakHashtable.cs
- ProcessHostServerConfig.cs
- FileStream.cs
- RootBuilder.cs
- ImmComposition.cs
- PageTheme.cs
- BaseValidatorDesigner.cs
- HelpEvent.cs
- XmlTextReaderImpl.cs
- AliasedSlot.cs
- DataTable.cs
- WindowsRichEditRange.cs
- SctClaimSerializer.cs
- ServicePointManager.cs
- AbstractSvcMapFileLoader.cs
- CompareInfo.cs
- RewritingValidator.cs
- RectangleF.cs
- CodeDomLocalizationProvider.cs
- InvokeMethodDesigner.xaml.cs
- CompilerErrorCollection.cs
- ProfileGroupSettingsCollection.cs
- LogEntryHeaderv1Deserializer.cs
- CleanUpVirtualizedItemEventArgs.cs
- TableCellCollection.cs
- InfoCardServiceInstallComponent.cs
- SystemDropShadowChrome.cs
- TabItemAutomationPeer.cs
- CheckPair.cs
- ListControlConvertEventArgs.cs
- StringTraceRecord.cs
- recordstatefactory.cs
- MexTcpBindingCollectionElement.cs
- TdsParserStateObject.cs
- FacetDescription.cs
- Win32MouseDevice.cs
- CodeGenerator.cs
- DoWorkEventArgs.cs
- EventProviderWriter.cs
- XmlLanguage.cs
- COM2ComponentEditor.cs
- DataGridViewCellEventArgs.cs
- Image.cs
- WindowsTitleBar.cs
- OpacityConverter.cs
- DBParameter.cs
- RowVisual.cs
- BasicCommandTreeVisitor.cs
- FilterException.cs
- xsdvalidator.cs
- MdImport.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- WindowsHyperlink.cs
- ColumnMapTranslator.cs
- XhtmlBasicPageAdapter.cs
- DatatypeImplementation.cs
- IPPacketInformation.cs
- HandoffBehavior.cs
- LiteralControl.cs
- WebServiceClientProxyGenerator.cs
- DPAPIProtectedConfigurationProvider.cs
- Listbox.cs
- CompoundFileStorageReference.cs
- linebase.cs
- HMACSHA1.cs
- DataObjectCopyingEventArgs.cs
- HighlightComponent.cs
- HtmlAnchor.cs
- Resources.Designer.cs
- ProfileGroupSettings.cs
- ResourceIDHelper.cs
- Types.cs
- IISMapPath.cs
- Identity.cs
- UInt32.cs
- EventPropertyMap.cs
- ThreadExceptionEvent.cs
- UrlAuthorizationModule.cs
- NotFiniteNumberException.cs
- ImageListImageEditor.cs