Provides behavior for images in an XPS fixed page.

Namespace: FirstFloor.Documents.Behaviors
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public class DefaultImageBehavior : ElementBehavior<Shape>
Visual Basic
Public Class DefaultImageBehavior _
	Inherits ElementBehavior(Of Shape)
Visual C++
public ref class DefaultImageBehavior : public ElementBehavior<Shape^>

Remarks

Images in XPS documents are represented with Path elements having the Fill property set to an ImageBrush.

This default behavior replaces an image with a solid light gray color whenever an image fails to load.

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    Behavior
      Behavior<(Of <(<'Shape>)>)>
        FirstFloor.Documents.Behaviors..::..ElementBehavior<(Of <(<'Shape>)>)>
          FirstFloor.Documents.Behaviors..::..DefaultImageBehavior

See Also