# ChildrenAlphaProperty

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/animation/ChildrenAlphaProperty.java)

*** ** * ** ***


```
public class ChildrenAlphaProperty
```

<br />

*** ** * ** ***

A Property for the alpha of a ViewGroup's children.

All values are directly correlated with the children's alpha.

This property assumes that it is the only component responsible for the children's alpha.

## Summary

| ### Constants |
|---|---|
| `static final Property<ViewGroup, Float>` | `https://developer.android.com/reference/com/google/android/material/animation/ChildrenAlphaProperty#CHILDREN_ALPHA()` A Property wrapper around the `alpha` functionality of a ViewGroup's children. |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/Float` | `https://developer.android.com/reference/com/google/android/material/animation/ChildrenAlphaProperty#get(ViewGroup)(ViewGroup object)` |
| `void` | `https://developer.android.com/reference/com/google/android/material/animation/ChildrenAlphaProperty#set(ViewGroup,java.lang.Float)(ViewGroup object, https://developer.android.com/reference/java/lang/Float value)` |

## Constants

### CHILDREN_ALPHA

```
public static final Property<ViewGroup, Float> CHILDREN_ALPHA
```

A Property wrapper around the `alpha` functionality of a ViewGroup's children.

## Public methods

### get

```
public Float get(ViewGroup object)
```

### set

```
public void set(ViewGroup object, Float value)
```