Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / Italic.cs / 1 / 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
- RuntimeWrappedException.cs
- UniqueIdentifierService.cs
- ServiceConfigurationTraceRecord.cs
- BoundField.cs
- RawUIStateInputReport.cs
- RoutedEventConverter.cs
- VScrollBar.cs
- XmlAnyAttributeAttribute.cs
- ListViewUpdatedEventArgs.cs
- GridView.cs
- ProfilePropertyMetadata.cs
- ApplicationSecurityInfo.cs
- FieldMetadata.cs
- SecurityException.cs
- CustomValidator.cs
- DataRowView.cs
- SelectedDatesCollection.cs
- HttpWriter.cs
- BufferedGraphicsContext.cs
- UndoEngine.cs
- LocatorPartList.cs
- ISCIIEncoding.cs
- CodeIdentifier.cs
- XmlTextAttribute.cs
- FamilyMapCollection.cs
- AppDomainCompilerProxy.cs
- DBConcurrencyException.cs
- BooleanProjectedSlot.cs
- DependentList.cs
- SoapAttributeOverrides.cs
- VectorConverter.cs
- mediaeventargs.cs
- ActivationWorker.cs
- DataGridColumnHeaderAutomationPeer.cs
- StateItem.cs
- FontWeightConverter.cs
- MachineKeyValidationConverter.cs
- BindingsCollection.cs
- ProxyElement.cs
- InvokeProviderWrapper.cs
- DataList.cs
- WindowProviderWrapper.cs
- Char.cs
- _Win32.cs
- InputChannelAcceptor.cs
- CanExpandCollapseAllConverter.cs
- Trustee.cs
- Hyperlink.cs
- CodeTypeOfExpression.cs
- BindToObject.cs
- AttributeCollection.cs
- XmlILStorageConverter.cs
- ColumnWidthChangingEvent.cs
- Deflater.cs
- SendKeys.cs
- DataBindingHandlerAttribute.cs
- BaseCollection.cs
- FindCriteria.cs
- MessageQuerySet.cs
- ClaimTypeRequirement.cs
- CompilerHelpers.cs
- LockedAssemblyCache.cs
- XPathScanner.cs
- DbDataSourceEnumerator.cs
- OdbcPermission.cs
- XmlSecureResolver.cs
- ProfilePropertySettingsCollection.cs
- EnumBuilder.cs
- DataSetMappper.cs
- latinshape.cs
- UnknownWrapper.cs
- BitmapCodecInfo.cs
- MruCache.cs
- WebServiceReceive.cs
- ProcessModelSection.cs
- UserPrincipalNameElement.cs
- WindowsContainer.cs
- DBParameter.cs
- SettingsAttributes.cs
- PTUtility.cs
- NominalTypeEliminator.cs
- CompoundFileStreamReference.cs
- AsyncOperationManager.cs
- CodeDOMUtility.cs
- Thread.cs
- OperatingSystem.cs
- XmlSchemaElement.cs
- GPPOINT.cs
- StructuredType.cs
- BasicHttpBindingCollectionElement.cs
- QueueProcessor.cs
- CollectionBase.cs
- Pair.cs
- Set.cs
- cookiecollection.cs
- FixedBufferAttribute.cs
- SHA384CryptoServiceProvider.cs
- DownloadProgressEventArgs.cs
- ArgIterator.cs
- ConfigurationStrings.cs