# \[Bind/Protect series\] Behaviour in the case of explicit getters/setters

**URL:** <https://forum.dotvvm.com/t/bind-protect-series-behaviour-in-the-case-of-explicit-getters-setters/154>\
**Category:** Discussion in English\
**Created:** [February 20, 2024, 5:39pm UTC](https://forum.dotvvm.com/t/bind-protect-series-behaviour-in-the-case-of-explicit-getters-setters/154 "2024-02-20T17:39:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianV](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/m/c0e974/32.png) [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Post date:** [February 20, 2024, 5:39pm UTC](https://forum.dotvvm.com/t/bind-protect-series-behaviour-in-the-case-of-explicit-getters-setters/154/1 "2024-02-20T17:39:50Z")

</div>

What is the behaviour if decorating with Bind/Protect the public properties that are explicit? Like say this:  
 ![image](https://forum.dotvvm.com/uploads/default/original/1X/a4c6e79429d342e1df39acdf8acce33a875daaea.png)

---

<div class="post-metadata">

**Author:** ![exyi](https://forum.dotvvm.com/user_avatar/forum.dotvvm.com/exyi/32/9_2.png) [@exyi](https://forum.dotvvm.com/u/exyi)\
**Post date:** [February 21, 2024, 10:45am UTC](https://forum.dotvvm.com/t/bind-protect-series-behaviour-in-the-case-of-explicit-getters-setters/154/2 "2024-02-21T10:45:50Z")

</div>

It doesn’t matter if the getter/setter are automatic or explicitly declared. These two properties behave the same in DotVVM

```csharp
public string Property1 { get; set; }
public string Property1 {
    get { return this.someField; }
    set { this.someField = value; }
}

```

DotVVM will ignore the `protected get`, only public accessors are used for serialization. A property without a getter is equivalent to `[Bind(Direction.ClientToServer)]`, it will be initialized to `null` in JS and then sent on each postback.
