Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / PtsHost / LineBreakRecord.cs / 1 / LineBreakRecord.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: LineBreakRecord // // Description: LineBreakRecord is unmanaged resouce handle to TextLineBreak // // History: // 06/07/2005 : [....] - created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Documents; using MS.Internal.Text; using System.Windows.Media.TextFormatting; namespace MS.Internal.PtsHost { // --------------------------------------------------------------------- // Break record for line - holds decoration information // --------------------------------------------------------------------- internal sealed class LineBreakRecord : UnmanagedHandle { // ------------------------------------------------------------------ // Constructor. // // PtsContext - Context // TextLineBreak - Contained line break // ----------------------------------------------------------------- internal LineBreakRecord(PtsContext ptsContext, TextLineBreak textLineBreak) : base(ptsContext) { _textLineBreak = textLineBreak; } ////// Dispose the line break /// public override void Dispose() { if(_textLineBreak != null) { _textLineBreak.Dispose(); } base.Dispose(); } #region Internal Methods ////// Clones the underlying TextLineBreak /// internal LineBreakRecord Clone() { return new LineBreakRecord(PtsContext, _textLineBreak.Clone()); } internal TextLineBreak TextLineBreak { get { return _textLineBreak; } } #endregion Internal Methods #region Private Fields private TextLineBreak _textLineBreak; #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
- KnownBoxes.cs
- PerformanceCounterCategory.cs
- DomNameTable.cs
- SafeNativeHandle.cs
- WebService.cs
- MobileControlsSectionHandler.cs
- AddInDeploymentState.cs
- RequestValidator.cs
- mongolianshape.cs
- TypeUtils.cs
- PersistChildrenAttribute.cs
- SoapTransportImporter.cs
- ListViewTableCell.cs
- ValueTypeFixupInfo.cs
- IconHelper.cs
- HtmlDocument.cs
- DbReferenceCollection.cs
- LowerCaseStringConverter.cs
- BindingMAnagerBase.cs
- SdlChannelSink.cs
- ElementUtil.cs
- AnnotationMap.cs
- MiniModule.cs
- SessionStateUtil.cs
- StringFunctions.cs
- SqlParameter.cs
- DrawingContextFlattener.cs
- PlanCompiler.cs
- SchemaImporterExtension.cs
- XmlSerializer.cs
- EventLogQuery.cs
- UnsafeNativeMethodsCLR.cs
- Convert.cs
- TableCell.cs
- TrustManagerPromptUI.cs
- BitmapDecoder.cs
- UnsafeNativeMethods.cs
- XslTransform.cs
- DataGridViewCellValidatingEventArgs.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DbProviderFactoriesConfigurationHandler.cs
- BaseProcessProtocolHandler.cs
- SwitchAttribute.cs
- ConstructorBuilder.cs
- SimpleBitVector32.cs
- SchemaComplexType.cs
- ClientConfigurationSystem.cs
- PeerEndPoint.cs
- SByteStorage.cs
- TraversalRequest.cs
- ELinqQueryState.cs
- Drawing.cs
- GlobalAclOperationRequirement.cs
- UriTemplateCompoundPathSegment.cs
- KeyedPriorityQueue.cs
- DescendantQuery.cs
- PenContexts.cs
- ExpressionNode.cs
- RsaEndpointIdentity.cs
- ListenerConnectionModeReader.cs
- WebException.cs
- ListMarkerLine.cs
- PixelShader.cs
- ExternalException.cs
- Matrix3D.cs
- CommandValueSerializer.cs
- CacheSection.cs
- ContentElementAutomationPeer.cs
- OleDbPermission.cs
- EndCreateSecurityTokenRequest.cs
- PenContext.cs
- ObjectReferenceStack.cs
- GeneralTransform3DTo2DTo3D.cs
- DesignTimeParseData.cs
- PixelFormats.cs
- XmlSchemaComplexContentRestriction.cs
- Constants.cs
- BlockCollection.cs
- ConfigurationFileMap.cs
- ClientFormsIdentity.cs
- ModulesEntry.cs
- XsltFunctions.cs
- ObjectListDesigner.cs
- WizardForm.cs
- WebPartVerb.cs
- BlurEffect.cs
- GuidTagList.cs
- WindowsListViewSubItem.cs
- SqlOuterApplyReducer.cs
- RowToParametersTransformer.cs
- CollectionViewSource.cs
- TabPage.cs
- DbException.cs
- QueryPageSettingsEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- Wildcard.cs
- TakeQueryOptionExpression.cs
- UiaCoreApi.cs
- InvalidCommandTreeException.cs
- CollectionViewGroupInternal.cs