67 references to Format
PresentationCore (67)
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
123
throw new ArgumentException(SR.
Format
(SR.PropertyOfClassCannotBeGreaterThan, "FontRenderingEmSize", "TextRunProperties", realMaxFontRenderingEmSize));
System\Windows\FreezableCollection.cs (1)
639
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "T"));
System\Windows\Generated\ContentElement.cs (2)
77
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), nameof(clock));
142
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), nameof(animation));
System\Windows\Generated\TextDecorationCollection.cs (1)
497
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextDecoration"));
System\Windows\Generated\UIElement.cs (2)
77
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), nameof(clock));
142
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), nameof(animation));
System\Windows\Media\Animation\AnimationStorage.cs (2)
489
SR.
Format
(
985
throw new InvalidOperationException(SR.
Format
(
System\Windows\Media\Animation\Generated\Animatable.cs (2)
76
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), nameof(clock));
141
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), nameof(animation));
System\Windows\Media\Animation\Generated\ByteAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\ColorAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\Int16Animation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\Int32Animation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\Int64Animation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\PointAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\RectAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\SingleAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\SizeAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
496
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Timeline"));
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Animation\Generated\VectorAnimation.cs (2)
314
SR.
Format
(
325
SR.
Format
(
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
499
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "BitmapEffect"));
System\Windows\Media\Generated\DoubleCollection.cs (1)
455
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "double"));
System\Windows\Media\Generated\DrawingCollection.cs (1)
518
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Drawing"));
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
506
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform"));
System\Windows\Media\Generated\GeometryCollection.cs (1)
518
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Geometry"));
System\Windows\Media\Generated\GradientStopCollection.cs (1)
506
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GradientStop"));
System\Windows\Media\Generated\Int32Collection.cs (1)
455
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "int"));
System\Windows\Media\Generated\PathFigureCollection.cs (1)
507
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathFigure"));
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
506
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathSegment"));
System\Windows\Media\Generated\PointCollection.cs (1)
455
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point"));
System\Windows\Media\Generated\TextEffectCollection.cs (1)
506
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextEffect"));
System\Windows\Media\Generated\TransformCollection.cs (1)
518
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform"));
System\Windows\Media\Generated\VectorCollection.cs (1)
455
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector"));
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
504
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform3D"));
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
516
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Material"));
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
516
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Model3D"));
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
453
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point3D"));
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
516
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform3D"));
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
453
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector3D"));
System\Windows\Media3D\Generated\Visual3D.cs (2)
76
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), nameof(clock));
141
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), nameof(animation));
System\Windows\Media3D\ModelVisual3D.cs (1)
79
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, nameof(Visual3D)));
System\Windows\Media3D\Visual3DCollection.cs (1)
450
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Visual3D"));