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
- RewritingPass.cs
- XmlAttributeAttribute.cs
- LineBreak.cs
- TimeoutValidationAttribute.cs
- ResourceReferenceKeyNotFoundException.cs
- UserPreferenceChangedEventArgs.cs
- SingleKeyFrameCollection.cs
- VerifyHashRequest.cs
- LocalizabilityAttribute.cs
- Drawing.cs
- WeakReferenceList.cs
- SqlFormatter.cs
- ClientCultureInfo.cs
- RC2.cs
- SerializationException.cs
- FontClient.cs
- PropertyPathWorker.cs
- Viewport2DVisual3D.cs
- OleDbReferenceCollection.cs
- LogAppendAsyncResult.cs
- LinkedResourceCollection.cs
- ISFClipboardData.cs
- AppDomainAttributes.cs
- HTMLTextWriter.cs
- FieldNameLookup.cs
- ImageCodecInfo.cs
- FrameworkContentElement.cs
- HttpCachePolicy.cs
- FileLevelControlBuilderAttribute.cs
- ResourceCategoryAttribute.cs
- XmlSchemaAnyAttribute.cs
- TypedDataSetSchemaImporterExtension.cs
- WebPartCatalogCloseVerb.cs
- LexicalChunk.cs
- HttpListenerException.cs
- MonthChangedEventArgs.cs
- CqlErrorHelper.cs
- DBSchemaTable.cs
- DocumentGridContextMenu.cs
- SqlStatistics.cs
- BitmapEffectvisualstate.cs
- AppSecurityManager.cs
- SourceFileInfo.cs
- ServiceDescriptions.cs
- WindowsTokenRoleProvider.cs
- TreeNodeBinding.cs
- ExtenderHelpers.cs
- ConcurrencyMode.cs
- CommonXSendMessage.cs
- XmlWellformedWriter.cs
- PageContentAsyncResult.cs
- SecurityElement.cs
- OpCellTreeNode.cs
- ByteAnimationBase.cs
- DiagnosticsConfigurationHandler.cs
- DataGridItemCollection.cs
- UnsafeNativeMethodsTablet.cs
- WebPartMenuStyle.cs
- Condition.cs
- SchemaImporter.cs
- AuthenticationServiceManager.cs
- DataBindingExpressionBuilder.cs
- ContextDataSourceView.cs
- WebControlsSection.cs
- OutputScope.cs
- NameValuePermission.cs
- FileDialogCustomPlace.cs
- NotConverter.cs
- MetadataCacheItem.cs
- ColorPalette.cs
- MapPathBasedVirtualPathProvider.cs
- OrderedDictionaryStateHelper.cs
- PersonalizationEntry.cs
- AudioFormatConverter.cs
- PathGeometry.cs
- TrackingServices.cs
- PauseStoryboard.cs
- Soap12ProtocolReflector.cs
- RawKeyboardInputReport.cs
- DesignTimeTemplateParser.cs
- FontClient.cs
- GeometryDrawing.cs
- PopupRoot.cs
- QueryTaskGroupState.cs
- ContainerFilterService.cs
- DetailsViewCommandEventArgs.cs
- ColorIndependentAnimationStorage.cs
- entitydatasourceentitysetnameconverter.cs
- ValuePattern.cs
- SqlCommandSet.cs
- FixedTextPointer.cs
- EntityParameter.cs
- CompoundFileStorageReference.cs
- SafeFileMappingHandle.cs
- QualificationDataItem.cs
- StringValidatorAttribute.cs
- ImmutableCollection.cs
- MonikerUtility.cs
- COM2ColorConverter.cs
- TextChangedEventArgs.cs