Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
How to get the full set of ComparisonOperatorSelector Images
posted

Hi,

Could you please provide me with the full set of drawing images XAML for ComparisonOperatorSelector style? For example, I have the following in my XAML:

<Style TargetType="{x:Type igWindows:ComparisonOperatorSelector}">
<Setter Property="OperatorEqualsImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorEqualsImageKey}}" />
<Setter Property="OperatorNotEqualsImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorNotEqualsImageKey}}" />
<Setter Property="OperatorLessThanImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorLessThanImageKey}}" />
<Setter Property="OperatorLessThanOrEqualToImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorLessThanOrEqualToImageKey}}" />
<Setter Property="OperatorGreaterThanImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorGreaterThanImageKey}}" />
<Setter Property="OperatorGreaterThanOrEqualToImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorGreaterThanOrEqualToImageKey}}" />
<Setter Property="OperatorContainsImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorContainsImageKey}}" />
<Setter Property="OperatorDoesNotContainImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorDoesNotContainImageKey}}" />
<Setter Property="OperatorLikeImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorLikeImageKey}}" />
<Setter Property="OperatorNotLikeImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorNotLikeImageKey}}" />
<Setter Property="OperatorMatchImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorMatchImageKey}}" />
<Setter Property="OperatorDoesNotMatchImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorDoesNotMatchImageKey}}" />
<Setter Property="OperatorStartsWithImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorStartsWithImageKey}}" />
<Setter Property="OperatorDoesNotStartWithImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorDoesNotStartWithImageKey}}" />
<Setter Property="OperatorEndsWithImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorEndsWithImageKey}}" />
<Setter Property="OperatorDoesNotEndWithImage" Value="{DynamicResource {x:Static igWindows:ComparisonOperatorSelector.OperatorDoesNotEndWithImageKey}}" />
</Style>

I also have a few XAMLs for imaeges:

<DrawingImage x:Key="{x:Static igWindows:ComparisonOperatorSelector.OperatorEqualsImageKey}" igWindows:Utilities.SnapElementToDevicePixels="True" PresentationOptions:Freeze="true">
<DrawingImage.Drawing>
<GeometryDrawing Brush="{StaticResource FilterOperatorForegroundBrush}">
<GeometryDrawing.Geometry>
<PathGeometry Figures="M 0,2 C0,3 0,6 0,6 0,6 10,6 10,6 10,6 10,4 10,4 10,4 0,4 0,4 zM 0,0 C0,0 0,2 0,2 0,2 10,2 10,2 10,2 10,0 10,0 10,0 0,0 0,0 z" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingImage.Drawing>
</DrawingImage>

<DrawingImage x:Key="{x:Static igWindows:ComparisonOperatorSelector.OperatorNotEqualsImageKey}" igWindows:Utilities.SnapElementToDevicePixels="True" PresentationOptions:Freeze="true">
<DrawingImage.Drawing>
<GeometryDrawing Brush="{StaticResource FilterOperatorForegroundBrush}">
<GeometryDrawing.Geometry>
<GeometryGroup FillRule="NonZero">
<PathGeometry Figures="M 0,2 C0,3 0,6 0,6 0,6 10,6 10,6 10,6 10,4 10,4 10,4 0,4 0,4 zM 0,0 C0,0 0,2 0,2 0,2 10,2 10,2 10,2 10,0 10,0 10,0 0,0 0,0 z">
<PathGeometry.Transform>
<TranslateTransform Y="2" />
</PathGeometry.Transform>
</PathGeometry>
<PathGeometry Figures="M 0,10 C0,10 2,10 2,10 2,10 8,0 8,0 8,0 6,0 6,0 6,0 0,10 0,10 z">
<PathGeometry.Transform>
<ScaleTransform ScaleX="1.25" />
</PathGeometry.Transform>
</PathGeometry>
</GeometryGroup>
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingImage.Drawing>
</DrawingImage>

etc..

Could you please give me the full set? I cannot access it on my machine, so would appreciate if you could provide all the existing ones to me? Thank you so much.

Anton

Parents
No Data
Reply
  • 34430
    Verified Answer
    Offline posted

    Hello Anton,

    Thank you for your post.

    All of the ComparisonOperator selector "images" are DrawingImage elements, and after installing the Infragistics suite of controls, they can commonly be found in the XAML file at this directory: C:\Program Files (x86)\Infragistics\<your_version_here>\WPF\DefaultStyles\Windows\PrimitivesGeneric_Express.xaml.

    For your convenience, I have rounded up all of the ones you have listed above into a single text file, which I have attached to this post.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

    Operators.zip
Children