Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Underline.cs / 1305600 / Underline.cs
//---------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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
- ButtonRenderer.cs
- XmlValueConverter.cs
- OdbcUtils.cs
- PanelDesigner.cs
- diagnosticsswitches.cs
- PopupRootAutomationPeer.cs
- UndoUnit.cs
- DataGridViewCellStateChangedEventArgs.cs
- WsdlWriter.cs
- SoapEnumAttribute.cs
- ScriptManager.cs
- RichListBox.cs
- ListBase.cs
- TimeSpanMinutesConverter.cs
- AmbientProperties.cs
- SchemaElementDecl.cs
- WebPartDisplayModeCancelEventArgs.cs
- PreviewKeyDownEventArgs.cs
- SplitterPanelDesigner.cs
- ViewCellRelation.cs
- GPRECT.cs
- LoadedOrUnloadedOperation.cs
- FutureFactory.cs
- StrongNameIdentityPermission.cs
- GlyphsSerializer.cs
- Configuration.cs
- KnowledgeBase.cs
- UpWmlMobileTextWriter.cs
- PartialCachingControl.cs
- JulianCalendar.cs
- SessionIDManager.cs
- Mouse.cs
- GridViewCancelEditEventArgs.cs
- HtmlInputImage.cs
- TraceContextRecord.cs
- DataGridColumn.cs
- DataServiceException.cs
- DesignDataSource.cs
- AdvancedBindingPropertyDescriptor.cs
- DashStyle.cs
- StrokeCollectionDefaultValueFactory.cs
- UnicodeEncoding.cs
- Missing.cs
- QuaternionRotation3D.cs
- ResourceIDHelper.cs
- GlyphElement.cs
- PKCS1MaskGenerationMethod.cs
- ScriptingSectionGroup.cs
- SizeAnimationUsingKeyFrames.cs
- FlowLayoutSettings.cs
- IOException.cs
- StylusShape.cs
- Pen.cs
- XmlDataSourceView.cs
- TreeNodeConverter.cs
- Constraint.cs
- ColorPalette.cs
- XmlSchemaValidationException.cs
- XPathBuilder.cs
- ThreadSafeList.cs
- PrintDocument.cs
- EncodedStreamFactory.cs
- XmlNodeChangedEventArgs.cs
- EntityCommandExecutionException.cs
- FileClassifier.cs
- IndexingContentUnit.cs
- HwndHostAutomationPeer.cs
- ColumnCollection.cs
- HScrollBar.cs
- Page.cs
- XamlGridLengthSerializer.cs
- ReadOnlyState.cs
- BinaryConverter.cs
- PlainXmlDeserializer.cs
- XPathDocumentBuilder.cs
- CodeCompileUnit.cs
- PanelDesigner.cs
- MaterializeFromAtom.cs
- AnimatedTypeHelpers.cs
- StrokeRenderer.cs
- BasicHttpSecurity.cs
- Error.cs
- GrammarBuilderWildcard.cs
- UIntPtr.cs
- ToolStripRendererSwitcher.cs
- CodeTypeMemberCollection.cs
- Accessors.cs
- SqlTriggerAttribute.cs
- BitmapEffect.cs
- JumpTask.cs
- ConfigurationManagerHelper.cs
- Pkcs7Signer.cs
- Rotation3DAnimationUsingKeyFrames.cs
- JsonSerializer.cs
- ViewCellSlot.cs
- DataObjectAttribute.cs
- ReadWriteSpinLock.cs
- EarlyBoundInfo.cs
- UniqueTransportManagerRegistration.cs
- IIS7WorkerRequest.cs