Code:
/ 4.0 / 4.0 / untmp / 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++;
}
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
- _RequestCacheProtocol.cs
- ImpersonateTokenRef.cs
- FontInfo.cs
- InputProviderSite.cs
- ActiveXHost.cs
- LinkConverter.cs
- TcpStreams.cs
- DefaultPrintController.cs
- PrePostDescendentsWalker.cs
- XmlNamedNodeMap.cs
- DataSourceCache.cs
- ImageFormat.cs
- AuthorizationRuleCollection.cs
- QueryParameter.cs
- Crc32.cs
- QuaternionIndependentAnimationStorage.cs
- IdentifierCollection.cs
- KeyProperty.cs
- SecurityElement.cs
- TextSimpleMarkerProperties.cs
- AuthStoreRoleProvider.cs
- ColumnTypeConverter.cs
- TableRow.cs
- SynchronizedDispatch.cs
- KnownBoxes.cs
- TypedElement.cs
- SimpleTextLine.cs
- DataRecordInfo.cs
- SignatureResourcePool.cs
- SqlMetaData.cs
- LoginDesignerUtil.cs
- Cloud.cs
- ServiceReference.cs
- EntityCommandCompilationException.cs
- CacheVirtualItemsEvent.cs
- Grid.cs
- CorrelationTokenInvalidatedHandler.cs
- TraceProvider.cs
- MdImport.cs
- ImageMap.cs
- MonthChangedEventArgs.cs
- RoleServiceManager.cs
- DataGridViewDataErrorEventArgs.cs
- SerializableReadOnlyDictionary.cs
- Transform3DGroup.cs
- WindowsListViewScroll.cs
- DefaultValueTypeConverter.cs
- HandlerWithFactory.cs
- XmlReflectionImporter.cs
- KeyInstance.cs
- DeviceContexts.cs
- OleDbErrorCollection.cs
- ScrollContentPresenter.cs
- ExtractorMetadata.cs
- XmlBinaryReader.cs
- ParameterCollection.cs
- PassportPrincipal.cs
- ToolstripProfessionalRenderer.cs
- XmlNavigatorStack.cs
- TextElement.cs
- FactoryMaker.cs
- Bold.cs
- RenderingEventArgs.cs
- HttpCachePolicyElement.cs
- ImageCodecInfoPrivate.cs
- SqlDataSourceCommandEventArgs.cs
- Registry.cs
- DriveInfo.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- XmlSchemaAttributeGroupRef.cs
- RecipientInfo.cs
- FileSystemWatcher.cs
- DiscoveryDocument.cs
- Vector3dCollection.cs
- ObjectConverter.cs
- XmlSchemaParticle.cs
- XmlComplianceUtil.cs
- SystemIPInterfaceStatistics.cs
- ScopedMessagePartSpecification.cs
- _NtlmClient.cs
- OutputScopeManager.cs
- FontConverter.cs
- TdsParameterSetter.cs
- ExtensibleClassFactory.cs
- SqlCacheDependencySection.cs
- UITypeEditor.cs
- SystemDropShadowChrome.cs
- EntitySetBaseCollection.cs
- ListenerBinder.cs
- Light.cs
- RadioButtonAutomationPeer.cs
- OrderedEnumerableRowCollection.cs
- UidManager.cs
- GroupBoxAutomationPeer.cs
- ColorMap.cs
- _FtpDataStream.cs
- QueuedDeliveryRequirementsMode.cs
- xmlNames.cs
- ExpressionVisitor.cs
- _NetRes.cs