Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Documents / Underline.cs / 1 / 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
- RtType.cs
- IIS7WorkerRequest.cs
- SerialStream.cs
- TemplateComponentConnector.cs
- ModelItem.cs
- RectangleHotSpot.cs
- MemoryMappedFileSecurity.cs
- ConfigurationValues.cs
- TTSVoice.cs
- ObjectHelper.cs
- ServerValidateEventArgs.cs
- XamlSerializer.cs
- TextDecoration.cs
- ResXResourceReader.cs
- HelpFileFileNameEditor.cs
- SqlConnectionString.cs
- RetrieveVirtualItemEventArgs.cs
- ReachFixedPageSerializer.cs
- Int32AnimationBase.cs
- EventHandlersStore.cs
- XmlObjectSerializerWriteContext.cs
- Stylesheet.cs
- ItemType.cs
- PathStreamGeometryContext.cs
- StateMachineExecutionState.cs
- ProfileManager.cs
- AppSecurityManager.cs
- ObjectPropertyMapping.cs
- ZipIOExtraFieldElement.cs
- HashCodeCombiner.cs
- TextBox.cs
- ZipIOLocalFileBlock.cs
- Token.cs
- ObjectDisposedException.cs
- ObjectReaderCompiler.cs
- PointAnimationUsingKeyFrames.cs
- safex509handles.cs
- JsonReaderDelegator.cs
- LeafCellTreeNode.cs
- RoutedEventValueSerializer.cs
- ViewStateException.cs
- ToolStripContainerActionList.cs
- AttachedPropertyBrowsableAttribute.cs
- EdmValidator.cs
- PreservationFileWriter.cs
- DatagramAdapter.cs
- SecurityCriticalDataForSet.cs
- ServerType.cs
- ObjectCacheSettings.cs
- SmiRequestExecutor.cs
- KeyMatchBuilder.cs
- InputBinder.cs
- CompilerGlobalScopeAttribute.cs
- XmlObjectSerializerContext.cs
- AutoCompleteStringCollection.cs
- ValidateNames.cs
- PrinterResolution.cs
- OdbcHandle.cs
- UpdateCompiler.cs
- CachedRequestParams.cs
- MessageDecoder.cs
- ToolboxItemCollection.cs
- FixedSOMPage.cs
- StringBlob.cs
- CompositeFontInfo.cs
- HatchBrush.cs
- SerialErrors.cs
- DataGridViewRow.cs
- InteropBitmapSource.cs
- SubqueryRules.cs
- MutexSecurity.cs
- PropertiesTab.cs
- PerfCounterSection.cs
- TCPClient.cs
- SchemaNamespaceManager.cs
- ContextStack.cs
- SystemUdpStatistics.cs
- BitmapDownload.cs
- NumericUpDown.cs
- ModelTreeManager.cs
- Privilege.cs
- ContentFilePart.cs
- XhtmlBasicValidationSummaryAdapter.cs
- MemoryStream.cs
- SortAction.cs
- MatrixKeyFrameCollection.cs
- SchemaImporter.cs
- InstanceKeyCompleteException.cs
- RecognizedWordUnit.cs
- ADMembershipProvider.cs
- OperationInfo.cs
- SimpleHandlerBuildProvider.cs
- control.ime.cs
- CompletionBookmark.cs
- RegexStringValidator.cs
- EventHandlersDesigner.cs
- ContractReference.cs
- RestHandlerFactory.cs
- WaitHandle.cs
- NonVisualControlAttribute.cs