Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.Converters.SquaredCornerRadiusConverter Class Reference

This converter removes specific rounded corners depending on the Squared property.
Converts from CornerRadius to CornerRadius. More...

Inheritance diagram for VolumeControl.WPF.Converters.SquaredCornerRadiusConverter:
Collaboration diagram for VolumeControl.WPF.Converters.SquaredCornerRadiusConverter:

Public Member Functions

object Convert (object value, Type targetType, object parameter, CultureInfo culture)
 
object ConvertBack (object value, Type targetType, object parameter, CultureInfo culture)
 

Properties

Corner Squared = Corner.None [get, set]
 Determines which corners are set to radius 0. More...
 

Detailed Description

This converter removes specific rounded corners depending on the Squared property.
Converts from CornerRadius to CornerRadius.

Member Function Documentation

◆ Convert()

object VolumeControl.WPF.Converters.SquaredCornerRadiusConverter.Convert ( object  value,
Type  targetType,
object  parameter,
CultureInfo  culture 
)
Returns
value with squared corners as specified by Squared.

References VolumeControl.WPF.Converters.SquaredCornerRadiusConverter.Squared.

◆ ConvertBack()

object VolumeControl.WPF.Converters.SquaredCornerRadiusConverter.ConvertBack ( object  value,
Type  targetType,
object  parameter,
CultureInfo  culture 
)
Returns
The unmodified value parameter.

Property Documentation

◆ Squared

Corner VolumeControl.WPF.Converters.SquaredCornerRadiusConverter.Squared = Corner.None
getset

Determines which corners are set to radius 0.

Referenced by VolumeControl.WPF.Converters.SquaredCornerRadiusConverter.Convert().


The documentation for this class was generated from the following file: