66 references to Format
PresentationCore (66)
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
138
throw new ArgumentException(SR.
Format
(SR.PropertyOfClassCannotBeGreaterThan, "FontRenderingEmSize", "TextRunProperties", realMaxFontRenderingEmSize));
System\Windows\FreezableCollection.cs (1)
667
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "T"));
System\Windows\Generated\ContentElement.cs (2)
88
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock");
156
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
System\Windows\Generated\TextDecorationCollection.cs (1)
514
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextDecoration"));
System\Windows\Generated\UIElement.cs (2)
88
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock");
156
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
System\Windows\Media\Animation\AnimationStorage.cs (1)
497
SR.
Format
(
System\Windows\Media\Animation\Generated\Animatable.cs (2)
94
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock");
162
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
System\Windows\Media\Animation\Generated\ByteAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\ColorAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\Int16Animation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\Int32Animation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\Int64Animation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\PointAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\RectAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\SingleAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\SizeAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
524
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Timeline"));
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Animation\Generated\VectorAnimation.cs (2)
325
SR.
Format
(
336
SR.
Format
(
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
520
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "BitmapEffect"));
System\Windows\Media\Generated\DoubleCollection.cs (1)
470
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "double"));
System\Windows\Media\Generated\DrawingCollection.cs (1)
536
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Drawing"));
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
522
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform"));
System\Windows\Media\Generated\GeometryCollection.cs (1)
536
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Geometry"));
System\Windows\Media\Generated\GradientStopCollection.cs (1)
522
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GradientStop"));
System\Windows\Media\Generated\Int32Collection.cs (1)
470
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "int"));
System\Windows\Media\Generated\PathFigureCollection.cs (1)
523
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathFigure"));
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
522
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathSegment"));
System\Windows\Media\Generated\PointCollection.cs (1)
470
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point"));
System\Windows\Media\Generated\TextEffectCollection.cs (1)
522
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextEffect"));
System\Windows\Media\Generated\TransformCollection.cs (1)
536
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform"));
System\Windows\Media\Generated\VectorCollection.cs (1)
470
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector"));
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
518
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform3D"));
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
532
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Material"));
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
532
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Model3D"));
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
466
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point3D"));
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
532
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform3D"));
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
466
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector3D"));
System\Windows\Media3D\Generated\Visual3D.cs (2)
94
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock");
162
throw new ArgumentException(SR.
Format
(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
System\Windows\Media3D\ModelVisual3D.cs (1)
96
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, typeof(Visual3D).Name));
System\Windows\Media3D\Visual3DCollection.cs (1)
466
throw new System.ArgumentException(SR.
Format
(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Visual3D"));