Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Italic.cs / 1305600 / Italic.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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
- DisplayNameAttribute.cs
- TableAdapterManagerNameHandler.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- XmlUrlResolver.cs
- Light.cs
- PriorityQueue.cs
- Pair.cs
- TextTreeInsertElementUndoUnit.cs
- Vertex.cs
- StorageMappingFragment.cs
- DataGridViewColumnCollection.cs
- CategoryNameCollection.cs
- InvalidateEvent.cs
- CallbackTimeoutsElement.cs
- ServicePointManagerElement.cs
- ReflectionServiceProvider.cs
- Point.cs
- EncoderExceptionFallback.cs
- CompilerErrorCollection.cs
- CodeArgumentReferenceExpression.cs
- HttpCookie.cs
- CurrentChangingEventManager.cs
- PaperSize.cs
- IUnknownConstantAttribute.cs
- ControlCodeDomSerializer.cs
- ClientScriptManager.cs
- StylusCaptureWithinProperty.cs
- DesignTimeParseData.cs
- SmtpDigestAuthenticationModule.cs
- XmlSecureResolver.cs
- GenericUriParser.cs
- SelectionRangeConverter.cs
- PathFigureCollection.cs
- Solver.cs
- GreenMethods.cs
- TextParaClient.cs
- LeftCellWrapper.cs
- MonthChangedEventArgs.cs
- CroppedBitmap.cs
- DefaultValueConverter.cs
- XmlEntity.cs
- JsonSerializer.cs
- FormViewPageEventArgs.cs
- ToolStripProgressBar.cs
- BitStream.cs
- DCSafeHandle.cs
- Panel.cs
- DataRowExtensions.cs
- ValidationResult.cs
- IfAction.cs
- ImageListUtils.cs
- GroupQuery.cs
- TemplateComponentConnector.cs
- SqlReferenceCollection.cs
- ListView.cs
- EdmComplexPropertyAttribute.cs
- CompoundFileStreamReference.cs
- ServiceModelConfigurationSection.cs
- DefaultPerformanceCounters.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextBoxBase.cs
- MobileFormsAuthentication.cs
- DataGridItemEventArgs.cs
- MarshalByValueComponent.cs
- ToggleButtonAutomationPeer.cs
- OutOfMemoryException.cs
- XhtmlBasicValidatorAdapter.cs
- ModelProperty.cs
- ToolStripDropDownClosingEventArgs.cs
- SecurityKeyType.cs
- StandardCommandToolStripMenuItem.cs
- LabelDesigner.cs
- MenuRendererStandards.cs
- DesignTimeXamlWriter.cs
- IntSecurity.cs
- ModelPerspective.cs
- Utils.cs
- CommentEmitter.cs
- DependencyPropertyKey.cs
- BroadcastEventHelper.cs
- Compiler.cs
- XmlSchemaProviderAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ChtmlTextBoxAdapter.cs
- StringBlob.cs
- WhileDesigner.cs
- AssemblyName.cs
- NameValueCollection.cs
- StringBlob.cs
- FillRuleValidation.cs
- BindingManagerDataErrorEventArgs.cs
- keycontainerpermission.cs
- RichTextBox.cs
- SoundPlayer.cs
- TemplateXamlTreeBuilder.cs
- InvalidProgramException.cs
- ToolStripLocationCancelEventArgs.cs
- SerializationEventsCache.cs
- LoadRetryHandler.cs
- objectresult_tresulttype.cs