public FourStateImageCheckBoxPresenter(PlatformBitmap uncheckedBitmap, PlatformBitmap checkedBitmap, PlatformBitmap selectedUncheckedBitmap, PlatformBitmap selectedCheckedBitmap) { myCheckedBitmap = checkedBitmap; myUncheckedBitmap = uncheckedBitmap; mySelectedCheckedBitmap = selectedCheckedBitmap; mySelectedUncheckedBitmap = selectedUncheckedBitmap; Bitmap = myUncheckedBitmap; myIsSelected = new DependencyPropertyStorage <bool>(this, false, new DependencyPropertyChangedEvent((o, e) => { RefreshImage(); } )); }
public ImageButton(PlatformBitmap bitmap, Stretch stretch, PlatformBitmap focusedBitmap) : this(bitmap, stretch) { Control.FocusedBitmap = focusedBitmap; }
public ImageButton(PlatformBitmap bitmap, Stretch stretch, PlatformBitmap focusedBitmap, PlatformBitmap clickedBitmap) : this(bitmap, stretch, focusedBitmap) { Control.ClickedBitmap = clickedBitmap; }
public ImageButton(PlatformBitmap bitmap, Stretch stretch) : this() { Control.Bitmap = bitmap; Control.Stretch = stretch; }