Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / FixedSOMPage.cs / 1305600 / FixedSOMPage.cs
/*++ File: FixedSOMPage.cs Copyright (C) 2005 Microsoft Corporation. All rights reserved. Description: A semantic container that contains all the first-level containers on the page History: 05/17/2005: agurcan - Created --*/ namespace System.Windows.Documents { using System.Collections; using System.Collections.Generic; using System.Windows.Markup; // for XmlLanguage using System.Windows.Media; using System.Globalization; using System.Diagnostics; internal sealed class FixedSOMPage: FixedSOMContainer { //-------------------------------------------------------------------- // // Constructors // //--------------------------------------------------------------------- #region Constructors public FixedSOMPage() { } #endregion Constructors //------------------------------------------------------------------- // // Public Methods // //--------------------------------------------------------------------- #region Public Methods #if DEBUG public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals) { switch (debugVisuals) { case DrawDebugVisual.None: case DrawDebugVisual.Glyphs: //Handled in FixedPage //Nothing to do break; default: int groupIndex = 0; int boxIndex = 0; for (int i=0; i<_semanticBoxes.Count; i++) { FixedSOMGroup group = _semanticBoxes[i] as FixedSOMGroup; if (group != null) { if (debugVisuals == DrawDebugVisual.Groups) { group.Render(dc, groupIndex.ToString(), debugVisuals); groupIndex++; } ListgroupBoxes = group.SemanticBoxes; for (int j=0; j MarkupOrder { get { return _markupOrder; } set { _markupOrder = value; } } internal CultureInfo CultureInfo { set { _cultureInfo = value; } } #endregion Public Properties //-------------------------------------------------------------------- // // Private Fields // //---------------------------------------------------------------------- #region Private Fields private List _markupOrder; private CultureInfo _cultureInfo; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /*++ File: FixedSOMPage.cs Copyright (C) 2005 Microsoft Corporation. All rights reserved. Description: A semantic container that contains all the first-level containers on the page History: 05/17/2005: agurcan - Created --*/ namespace System.Windows.Documents { using System.Collections; using System.Collections.Generic; using System.Windows.Markup; // for XmlLanguage using System.Windows.Media; using System.Globalization; using System.Diagnostics; internal sealed class FixedSOMPage: FixedSOMContainer { //-------------------------------------------------------------------- // // Constructors // //--------------------------------------------------------------------- #region Constructors public FixedSOMPage() { } #endregion Constructors //------------------------------------------------------------------- // // Public Methods // //--------------------------------------------------------------------- #region Public Methods #if DEBUG public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals) { switch (debugVisuals) { case DrawDebugVisual.None: case DrawDebugVisual.Glyphs: //Handled in FixedPage //Nothing to do break; default: int groupIndex = 0; int boxIndex = 0; for (int i=0; i<_semanticBoxes.Count; i++) { FixedSOMGroup group = _semanticBoxes[i] as FixedSOMGroup; if (group != null) { if (debugVisuals == DrawDebugVisual.Groups) { group.Render(dc, groupIndex.ToString(), debugVisuals); groupIndex++; } List groupBoxes = group.SemanticBoxes; for (int j=0; j MarkupOrder { get { return _markupOrder; } set { _markupOrder = value; } } internal CultureInfo CultureInfo { set { _cultureInfo = value; } } #endregion Public Properties //-------------------------------------------------------------------- // // Private Fields // //---------------------------------------------------------------------- #region Private Fields private List _markupOrder; private CultureInfo _cultureInfo; #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
- CollectionType.cs
- LazyTextWriterCreator.cs
- EditorPartCollection.cs
- ArraySet.cs
- XsltInput.cs
- CategoryGridEntry.cs
- AesCryptoServiceProvider.cs
- DataViewSetting.cs
- WinCategoryAttribute.cs
- DateTimeParse.cs
- IpcChannel.cs
- ThemeableAttribute.cs
- SpellCheck.cs
- SafeNativeMethodsMilCoreApi.cs
- ObjectListShowCommandsEventArgs.cs
- HandleInitializationContext.cs
- ISAPIWorkerRequest.cs
- CapabilitiesUse.cs
- ListenerConfig.cs
- FormatterServicesNoSerializableCheck.cs
- AnnotationComponentChooser.cs
- RemoteWebConfigurationHost.cs
- BroadcastEventHelper.cs
- LineGeometry.cs
- ProvidePropertyAttribute.cs
- StreamingContext.cs
- AuthenticationException.cs
- WorkingDirectoryEditor.cs
- PropertyChangingEventArgs.cs
- Visual3D.cs
- DictionaryEntry.cs
- SmiMetaData.cs
- Drawing.cs
- StringValidator.cs
- ConstantCheck.cs
- AutomationFocusChangedEventArgs.cs
- Int32Storage.cs
- IteratorFilter.cs
- printdlgexmarshaler.cs
- TableItemPattern.cs
- DataGridViewCellFormattingEventArgs.cs
- PerspectiveCamera.cs
- PartialArray.cs
- CompoundFileStorageReference.cs
- GregorianCalendarHelper.cs
- ExpandCollapseProviderWrapper.cs
- XmlAttributeOverrides.cs
- ProcessProtocolHandler.cs
- RotateTransform3D.cs
- HierarchicalDataBoundControl.cs
- ScrollData.cs
- CustomErrorCollection.cs
- FatalException.cs
- TextRunProperties.cs
- PointAnimationUsingKeyFrames.cs
- PipeStream.cs
- PageThemeParser.cs
- _UriTypeConverter.cs
- GregorianCalendar.cs
- FontSizeConverter.cs
- Tablet.cs
- StrongNameMembershipCondition.cs
- WindowInteractionStateTracker.cs
- NullToBooleanConverter.cs
- CategoriesDocumentFormatter.cs
- CharacterHit.cs
- WebPartVerbCollection.cs
- Win32KeyboardDevice.cs
- PaperSize.cs
- GeneralTransform3DGroup.cs
- CodeObject.cs
- SoapExtensionTypeElement.cs
- PropertyGroupDescription.cs
- QueryResult.cs
- Padding.cs
- BindingExpressionBase.cs
- CompositeFontParser.cs
- ParameterCollection.cs
- MatrixValueSerializer.cs
- NullReferenceException.cs
- CombinedGeometry.cs
- InternalUserCancelledException.cs
- DoubleLinkListEnumerator.cs
- ObjectPersistData.cs
- SpellCheck.cs
- ObjectDataSource.cs
- AdornedElementPlaceholder.cs
- HttpValueCollection.cs
- ColorContextHelper.cs
- ConnectionOrientedTransportChannelFactory.cs
- Model3D.cs
- IMembershipProvider.cs
- WindowVisualStateTracker.cs
- ADMembershipUser.cs
- WindowsListViewGroup.cs
- DATA_BLOB.cs
- PhysicalOps.cs
- Base64Encoder.cs
- UpdateProgress.cs
- WebServiceHostFactory.cs