Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Documents / FixedSOMPage.cs / 1 / 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
- RoutedEventConverter.cs
- FunctionParameter.cs
- GlobalItem.cs
- Animatable.cs
- SmtpAuthenticationManager.cs
- EndpointPerformanceCounters.cs
- SqlSupersetValidator.cs
- ButtonAutomationPeer.cs
- Serializer.cs
- TimeSpanSecondsConverter.cs
- MultiPageTextView.cs
- FlowDocumentPage.cs
- OdbcRowUpdatingEvent.cs
- AndMessageFilter.cs
- Transform.cs
- MouseButton.cs
- DataSourceControl.cs
- ListView.cs
- ObjectTag.cs
- Nodes.cs
- InfocardChannelParameter.cs
- CompilerParameters.cs
- XmlSerializerSection.cs
- EventProviderWriter.cs
- ProcessHostConfigUtils.cs
- Convert.cs
- RandomNumberGenerator.cs
- ConfigXmlElement.cs
- ThicknessKeyFrameCollection.cs
- ExpandoClass.cs
- CqlWriter.cs
- AutomationIdentifierGuids.cs
- TextPenaltyModule.cs
- KnownIds.cs
- GcSettings.cs
- TextRangeEdit.cs
- SystemNetHelpers.cs
- TimeoutException.cs
- HealthMonitoringSection.cs
- UnsafeNativeMethods.cs
- HwndProxyElementProvider.cs
- GacUtil.cs
- Funcletizer.cs
- Clock.cs
- ItemCollection.cs
- InstanceOwner.cs
- PropertyNames.cs
- GlyphRunDrawing.cs
- UrlParameterReader.cs
- Soap.cs
- RoleServiceManager.cs
- CompilerError.cs
- DesignColumn.cs
- AvTraceFormat.cs
- EncryptedKeyIdentifierClause.cs
- NetDataContractSerializer.cs
- SRGSCompiler.cs
- EncoderFallback.cs
- BitmapInitialize.cs
- GlyphRunDrawing.cs
- OracleEncoding.cs
- ScriptRegistrationManager.cs
- filewebresponse.cs
- IdentityManager.cs
- BaseResourcesBuildProvider.cs
- HttpListenerElement.cs
- MeasurementDCInfo.cs
- SecurityNegotiationException.cs
- InProcStateClientManager.cs
- ByteAnimationBase.cs
- ParameterInfo.cs
- ValidatorCompatibilityHelper.cs
- Light.cs
- ToolStripItemRenderEventArgs.cs
- Maps.cs
- EdgeModeValidation.cs
- ProtocolsConfiguration.cs
- PolyLineSegment.cs
- XmlDataCollection.cs
- UInt16Storage.cs
- WebPartDescription.cs
- SQLGuid.cs
- ToolStripItem.cs
- XamlToRtfParser.cs
- MissingMemberException.cs
- SuppressIldasmAttribute.cs
- ResXBuildProvider.cs
- NamedElement.cs
- NameValuePair.cs
- GuidTagList.cs
- HtmlLink.cs
- QuadraticBezierSegment.cs
- TreeView.cs
- NetWebProxyFinder.cs
- FormatException.cs
- HttpCachePolicy.cs
- BooleanStorage.cs
- XmlEncodedRawTextWriter.cs
- TabItemWrapperAutomationPeer.cs
- GPPOINTF.cs